Search found 61 matches

by Rabid Mantis
Thu Apr 13, 2006 11:41 am
Forum: Beginners Help
Topic: vector3df to int
Replies: 8
Views: 307

int x = int(vector.X); int y = int(vector.Y); int z = int(vector.Z); or exchange "int" for "s32" make sure you havent mistyped the vector name. If you're using visual studio it should pop up the members of vector after you get to "vector."... if not then you may have an...
by Rabid Mantis
Tue Apr 11, 2006 4:19 am
Forum: Beginners Help
Topic: total n00b here, major help needed
Replies: 3
Views: 258

the tutorials are examples. take more time to study the code and learn it a piece at a time.
by Rabid Mantis
Mon Apr 10, 2006 8:26 am
Forum: Beginners Help
Topic: Space flight navigation - anticollision AI
Replies: 3
Views: 272

Maybe you could use range data to obsticles, using the collision manager, casting a ray out from the front of the ship (maybe in a few directions) and then you know how far away the nearest obsticle is and can do something out it if it's too close. well, yeah thats the basics. It gets a little more...
by Rabid Mantis
Sun Apr 09, 2006 9:50 pm
Forum: Beginners Help
Topic: Space flight navigation - anticollision AI
Replies: 3
Views: 272

Space flight navigation - anticollision AI

I've got a bunch of ships flying around in 3d space and its time for me now to keep them from running into each other. Right now the ships just fly from point a to b (either a location or target ship), with realistic drift and maneuverability factored in. I know how to use the collision manager but ...
by Rabid Mantis
Wed Mar 22, 2006 2:47 pm
Forum: Beginners Help
Topic: Showing a model in more than one place?
Replies: 4
Views: 403

I was just hoping there'd be an easy way to avoid having a hundred different nodes that are exactly the same... Like if I could take one node for the projectile, draw, reposition, draw, repeat in different places. But since there doesnt seem to be an easy way to do it I'll have to look into differen...
by Rabid Mantis
Mon Mar 20, 2006 10:31 pm
Forum: Beginners Help
Topic: Showing a model in more than one place?
Replies: 4
Views: 403

Well that sucks. Wouldnt that optimize things a bit if it were possible? Especially for example in a spaceship combat game with all the projectiles flying everywhere.
by Rabid Mantis
Mon Mar 20, 2006 1:34 pm
Forum: Beginners Help
Topic: Detecting if the person is touching the ground
Replies: 3
Views: 264

i havent had to do this myself yet but irrlicht has a collision manager, I think you can use it to test if the model is touching the ground. Maybe someone else can tell you more specifically how to do it.
by Rabid Mantis
Mon Mar 20, 2006 6:14 am
Forum: Beginners Help
Topic: Showing a model in more than one place?
Replies: 4
Views: 403

Showing a model in more than one place?

For example if i want to spray bullets everywhere, Is it possible to just use the model for my bullet and draw it multiple times in different places? It seems like a waste to have a node for each individual bullet. Thanks.
by Rabid Mantis
Mon Mar 13, 2006 2:02 am
Forum: Beginners Help
Topic: anti-aliasing and 2d
Replies: 0
Views: 182

anti-aliasing and 2d

I noticed that whenever I enable anti-aliasing, my sprites/2d images get messed up. What I mean is, for example i loaded in a rect from my image 1,1 to 100,100... with anti aliasing off it works fine, but with it on, for some reason the image goes to 101,101. Is there a workaround for that or do I h...
by Rabid Mantis
Sun Feb 05, 2006 9:40 pm
Forum: Beginners Help
Topic: question about Irrlicht shadows.
Replies: 3
Views: 336

thanks. guess I missed that one :oops:
by Rabid Mantis
Sat Feb 04, 2006 10:45 pm
Forum: Beginners Help
Topic: question about Irrlicht shadows.
Replies: 3
Views: 336

question about Irrlicht shadows.

In my scenes, I'm using .x models, and i know how to create lights and set the model material etc, but the models arent casting shadows on each other. Can irrlicht not do this yet or is there something special I need to do to cast shadows? I don't need to create a whole world for what i'm doing so i...
by Rabid Mantis
Wed Dec 21, 2005 3:05 am
Forum: Beginners Help
Topic: what am I doing wrong? (shading)
Replies: 0
Views: 163

what am I doing wrong? (shading)

all of my character models work fine, but for some reason the ground isnt shading/lighting right. I don't need a full 3d environment for my game, so I just made a flat textured ground for my models to walk around on and cast shadows on. All my models are .x format, and I use the same procedeure to l...
by Rabid Mantis
Tue Dec 20, 2005 4:59 pm
Forum: Beginners Help
Topic: microsoft visual studio.net 2003 closing for no reason.
Replies: 3
Views: 204

So, having a large cpp could cause it to crash? are you talking about tools-options-text editor? there's no plain "editor" in my list. Then when i go under text editor, i have to go under "all languages", and theres only three statement completion options - auto list members, hid...
by Rabid Mantis
Tue Dec 20, 2005 10:30 am
Forum: Beginners Help
Topic: microsoft visual studio.net 2003 closing for no reason.
Replies: 3
Views: 204

microsoft visual studio.net 2003 closing for no reason.

For some reason whenever i work on a certain project, visual studio will suddenly close itself after a minute or two of having it open. It doesnt seem to do it with any other projects. It had worked fine until the other day, and I hadnt made any real changes to the code either. Any idea why it would...
by Rabid Mantis
Wed Nov 09, 2005 7:53 am
Forum: Beginners Help
Topic: System.NullReferenceException error when I alt-tab and back.
Replies: 7
Views: 258

I fixed it by changing my main loop to

while(Device->run() && driver)
{
if (Device->isWindowActive() && backgroundimage)


so I just have to make sure backgroundimage always has something in it.