hello everyone !
I have a problem while using convexSweepTest , first I use ClosestConvexResultCallback to get nearest btCollisionObject* , it is OK. then I found I Need to get All Collisioned Object* not only the nearest one, I don't know which callback to use.
the func desc is below:
// convexTest performs a swept convex cast on all objects in the btCollisionWorld, and calls the resultCallback
// This allows for several queries: first hit, all hits, any hit, dependent on the value return by the callback.
void convexSweepTest (const btConvexShape* castShape, const btTransform& from, const btTransform& to, ConvexResultCallback& resultCallback, btScalar allowedCcdPenetration = btScalar(0.)) const;
please help me~!!
convexSweepTest with multi-object return callback problem
-
- Posts: 1
- Joined: Tue Apr 06, 2010 9:11 am