Bug in 6DOF constraint fixed
Twist is now locked when twistSpan == 0 for btConeTwistConstraint Hinge axis for rigidBodyB is no longer flipped
This commit is contained in:
@@ -610,7 +610,7 @@ void btConeTwistConstraint::calcAngleInfo2()
|
||||
// or you're trying to set at least one of the swing limits too small. (if so, do you really want a conetwist constraint?)
|
||||
}
|
||||
|
||||
if (m_twistSpan >= btScalar(0.05f))
|
||||
if (m_twistSpan >= btScalar(0.f))
|
||||
{
|
||||
btVector3 twistAxis;
|
||||
computeTwistLimitInfo(qABTwist, m_twistAngle, twistAxis);
|
||||
|
||||
Reference in New Issue
Block a user