Hi,
I am using compound collision to represent each object in my world in Newton 2 with Ogre as my rendering engine
I would like to find the nearest distance between 2 objects.
Can some one provide any hiints/pointers?
Thanks in advance.
Moderators: Sascha Willems, Thomas
int NewtonCollisionClosestPoint (const NewtonWorld* newtonWorld,
const NewtonCollision* collisionA, const dFloat* matrixA,
const NewtonCollision* collisionB, const dFloat* matrixB,
dFloat* contactA, dFloat* contactB, dFloat* normalAB, int threadIndex);
dgInt32 dgWorld::ClosestCompoundPoint (
dgBody* compoundConvexA,
dgBody* collisionB,
dgTriplex& contactA,
dgTriplex& contactB,
dgTriplex& normalAB,
dgInt32 threadIndex) const
{
_ASSERTE (0);
return 0;
/*
*/
}
Users browsing this forum: No registered users and 1 guest