I can't find any example code for how to use it on the wiki.
The user manual refers to the "Gjk Convex Cast / Sweep Demo " for how to do a sweep test. So I downloaded the latest bullet src code (On Windows). I followed the instructions in the readme: "Click on build3/vs2010.bat and open build3/vs2010/0MySolution.sln"
The solution is created but does not seem to contain a Gjk Convex Cast / Sweep Demo. Unless I am looking in the wrong place for it, or it was renamed.
This is not going so well!
![Sad :(](./images/smilies/icon_sad.gif)
(edit)
Really my question is only about the following though. This is the convexsweeptest function signature:
Code: Select all
convexSweepTest (const btConvexShape *castShape, const btTransform &from, const btTransform &to, ConvexResultCallback &resultCallback, btScalar allowedCcdPenetration=btScalar(0.)) const
and this is the ClosestConvexResultCallback constructor:
Code: Select all
btCollisionWorld::ClosestConvexResultCallback::ClosestConvexResultCallback ( const btVector3 & convexFromWorld,
const btVector3 & convexToWorld )