I'm trying to do this:
Code: Select all
Assert( m_Object->getRootCollisionShape()->isConvex() );
bw->convexSweepTest( (btConvexShape*) m_Object->getRootCollisionShape(), tfFrom, tfTo, SweepCB, 0.0f );
Is there an easy way to make this happen - or should I try to manually sweep each child shape?