Hello,
I am trying to create collision detection in C++ using ODE. I have read through the documentation and sample code. However, I have been unsuccessful in locating a solution to Collision Detection.
pandaActor = window->load_model(framework.get_models(),"panda-model");
PandaWrap = new CollisionPolygon(LPoint3f(0, 0, 0), LPoint3f(0, 0, 2),LPoint3f(0, 2, 2), LPoint3f(0, 2, 0));
PandaCollide = new CollisionNode("panda");
PandaCollide->add_solid(PandaWrap);
pandaActor.attach_new_node(PandaCollide);
Knocker = new CollisionHandlerQueue();
Traverser = new CollisionTraverser("Traverse");
Traverser->add_collider(PandaCollide,Knocker);
Is there a callback function for Collision Detection in ODE? If so, what is the procedure in calling it and using it?
Much thanks,
Brian