report a bug in btCollisionWorld::rayTestSingle

hrabbit
Posts: 1
Joined: Wed Jan 07, 2009 8:40 am

report a bug in btCollisionWorld::rayTestSingle

Post by hrabbit »

hi, i am now using bullet as a game physical engine and i found a bug in function rayTestSingle,
this bug comes from BridgeTriangleRaycastCallback::reportHit, when doing like "m_resultCallback->addSingleResult(rayResult,false)". this code will add a contact result into some structure and the second parameter will determine if the contact face normal is in local or world coordinate. when i use compound shape collision object, this will cause an error because it only use rigidbody's transform, bu i think it should use child's transform of the compound shape object.