Zero23
15-11-2008 00:26:58
Hi,
I have some Question about CollisionCollide. I dont get this function to work. It always return 0. I dont know why. May can someone help me?
Here is my code, its only a test implementation.
The returned Contactpoints, they are they in local space? But of which Body or at both of them?
Zero23
I have some Question about CollisionCollide. I dont get this function to work. It always return 0. I dont know why. May can someone help me?
Here is my code, its only a test implementation.
Ogre::Vector3 ret[100], normal[100];
float pene[100];
int contacts = OgreNewt::CollisionTools::CollisionCollide(pWorld, 100, bodDotScen->getCollision(), bodDotScen->getOgreNode()->_getDerivedOrientation(), Ogre::Vector3(30, 0 , 0), bodDotScen1->getCollision(),
bodDotScen1->getOgreNode()->_getDerivedOrientation(), Ogre::Vector3(30, -50 , 0), ret, normal, pene);
The returned Contactpoints, they are they in local space? But of which Body or at both of them?
Zero23