diff --git a/src/BulletDynamics/Featherstone/btMultiBodyFixedConstraint.cpp b/src/BulletDynamics/Featherstone/btMultiBodyFixedConstraint.cpp index 0f0d9f67b..339b3800c 100644 --- a/src/BulletDynamics/Featherstone/btMultiBodyFixedConstraint.cpp +++ b/src/BulletDynamics/Featherstone/btMultiBodyFixedConstraint.cpp @@ -156,7 +156,7 @@ void btMultiBodyFixedConstraint::createConstraintRows(btMultiBodyConstraintArray btVector3 constraintNormalAng(0,0,0); btScalar posError = 0.0; if (i < 3) { - constraintNormalLin[i] = -1; + constraintNormalLin[i] = 1; posError = (pivotAworld-pivotBworld).dot(constraintNormalLin); fillMultiBodyConstraint(constraintRow, data, 0, 0, constraintNormalAng, constraintNormalLin, pivotAworld, pivotBworld,