52
51
btTransformUtil::calculateVelocity(fromA,toA,btScalar(1.),linVelA,angVelA);
53
52
btTransformUtil::calculateVelocity(fromB,toB,btScalar(1.),linVelB,angVelB);
55
55
btScalar boundingRadiusA = m_convexA->getAngularMotionDisc();
56
56
btScalar boundingRadiusB = m_convexB->getAngularMotionDisc();
58
58
btScalar maxAngularProjectedVelocity = angVelA.length() * boundingRadiusA + angVelB.length() * boundingRadiusB;
60
67
btScalar radius = btScalar(0.001);