Collision Help

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Dark_Exodus
Posts: 23
Joined: Thu Jan 29, 2004 4:07 pm
Location: Birmingham, UK
Contact:

Collision Help

Post by Dark_Exodus »

Hi

I had collision detection working early on in game development but there was a massive drop in the frame rate. I now have the following function to simplify things but nothing happens :(

CGame::WorldCollision(ISceneNode* node)
{
ISceneNodeAnimator* anim = temp_smgr->createCollisionResponseAnimator(
selector, node, vector3df(20,20,20),
vector3df(0,-50,0), 50.0f,
vector3df(0,0,0));

node->addAnimator(anim);
anim->drop();
}

Using function in main:
WorldCollision(bot[0]);

can anyone point in the right direction as 2 why nothing is happening?
Guest

Post by Guest »

can know one help?
:(
Post Reply