fixed some motionstate synchronization issues
[blender-staging.git] / source / gameengine / Physics / Bullet / CcdPhysicsController.cpp
index f6a087887f944b6a3786732061cf27e09b6f7735..3ddac72618db2d88911968826ae907e5ab7ac8f8 100644 (file)
@@ -99,7 +99,7 @@ public:
                m_blenderMotionState->setWorldPosition(worldTrans.getOrigin().getX(),worldTrans.getOrigin().getY(),worldTrans.getOrigin().getZ());
                btQuaternion rotQuat = worldTrans.getRotation();
                m_blenderMotionState->setWorldOrientation(rotQuat[0],rotQuat[1],rotQuat[2],rotQuat[3]);
-
+               m_blenderMotionState->calculateWorldTransformations();
        }
 
 };