diff options
-rw-r--r-- | source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp index 1d60f9afec3..eec579158cc 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp +++ b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp @@ -514,7 +514,7 @@ void CcdPhysicsEnvironment::AddCcdPhysicsController(CcdPhysicsController* ctrl) void CcdPhysicsEnvironment::RemoveConstraint(btTypedConstraint *con) { btRigidBody rbA = con->getRigidBodyA(); - btRigidBody rbB = con->getRigidBodyA(); + btRigidBody rbB = con->getRigidBodyB(); rbA.activate(); rbB.activate(); m_dynamicsWorld->removeConstraint(con); |