Method for getting sceneNode when colliding
Posted: Sun Sep 25, 2005 8:44 pm
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.
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.