Bug?

F1rst

21-07-2006 10:46:36

Hello again!
Today I have another problem with low-level collision detection.
I use collisioncollide function, where one collision is mesh and
another is ellipsoid.


Num=OgreNewt::CollisionTools::CollisionCollide(mWorld,size,
Ogrecol,Ogrenode->getOrientation(),Ogrenode->getPosition(), Robotcol,Ogre::Quaternion::IDENTITY,Vector3::ZERO,&retc[0],&retn[0],&retp[0]);

Sometimes I get 0 contacts poitns even if my objects collide - is this
bug in Newton?
P.s I set my collisions objects right(because if attach bodies and
visualise geometry(F3) - it shoes right)

walaber

21-07-2006 16:24:00

what is the "size" variable you are passing?

F1rst

21-07-2006 17:15:50

Sorry, Size is number of contacts(I was trying with 1, 10, 20 values).

walaber

21-07-2006 22:00:21

hmmm. it should work... anyone else having trouble with this function?

OvermindDL1

21-07-2006 22:23:51

Havn't tried it... Will try to setup a test for it if I get time this weekend...