Page 1 of 1

Collision Detection

Posted: Tue Nov 23, 2010 7:33 am
by stnal
Hi all,

In case I'm using only the collision detection features, how can I update the state each frame?
What functions should be called?

Thanks,
Stan

Re: Collision Detection

Posted: Wed Nov 24, 2010 8:33 pm
by ramsampath
I am assuming this is what you want

Code: Select all

cworld->performDiscreteCollisionDetection();
and iterate through the collision manifolds

from the dispatcher

Code: Select all

cworld->getDispatcher();
There are some demos which do this. CollisionInterfaceDemo is something which does this.

Thanks
Ram.