Method for getting sceneNode when colliding

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Wrecker
Posts: 2
Joined: Sun Sep 25, 2005 8:36 pm

Method for getting sceneNode when colliding

Post by Wrecker »

First time I'm posting here.

I'm building a game which should end up being a bank robbery. I'm using (of course) the irrlicht engine. I'm wondering (mainly for collisions). Is there a method something like this:

collidedscenenode = currentSceneNode.checkcollision();

or

collidedsceneNode = smgr.checkcollision(currentscenNode);

I guess the code above is nonexistent, but I'm searching for something like this. it has mainly todo with the AI we are about to implement.

What is want is that when there is a node colliding with another I'm able to retrieve the node which is colliding the currentnode.
Wrecker
Posts: 2
Joined: Sun Sep 25, 2005 8:36 pm

Post by Wrecker »

Anyone?

I had another problem today. I was tetsing our game and when 2 boundingboxes collide the game crashes. Is this done within the videocard? Ik don't have the problem at my dev machine.
r3i
Posts: 147
Joined: Wed Jun 29, 2005 10:15 am
Location: Sorrento
Contact:

Post by r3i »

Use MetaTriangleSelector ;)
Find multiple collisions thread of etCaptor
"We work in the dark, we do what we can, we give what we have, Our doubt is our passion and our passion is our task. The rest: is art of Madness" (H.James)
Post Reply