aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/PhysXExtensions/src/ExtD6JointSolverPrep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/PhysXExtensions/src/ExtD6JointSolverPrep.cpp')
-rw-r--r--PhysX_3.4/Source/PhysXExtensions/src/ExtD6JointSolverPrep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/PhysXExtensions/src/ExtD6JointSolverPrep.cpp b/PhysX_3.4/Source/PhysXExtensions/src/ExtD6JointSolverPrep.cpp
index 2d37e1a1..632f53d4 100644
--- a/PhysX_3.4/Source/PhysXExtensions/src/ExtD6JointSolverPrep.cpp
+++ b/PhysX_3.4/Source/PhysXExtensions/src/ExtD6JointSolverPrep.cpp
@@ -68,7 +68,7 @@ namespace Ext
PxTransform cB2w = bB2w.transform(data.c2b[1]);
body0WorldOffset = cB2w.p-bA2w.p;
- ConstraintHelper g(constraints, cB2w.p-bA2w.p, cB2w.p-bB2w.p);
+ ConstraintHelper g(constraints, cA2w.p-bA2w.p, cB2w.p-bB2w.p);
if(cA2w.q.dot(cB2w.q)<0) // minimum dist quat (equiv to flipping cB2bB.q, which we don't use anywhere)
cB2w.q = -cB2w.q;