fixed some motionstate synchronization issues
[blender-staging.git] / source / gameengine / Ketsji / KX_MotionState.cpp
index 14849ef704c38ab54ca68648874882faec0ab17c..cd01c0466cd6deae80bfe6902813ce04f500a30d 100644 (file)
@@ -73,7 +73,7 @@ void  KX_MotionState::getWorldOrientation(float& quatIma0,float& quatIma1,float&
 void   KX_MotionState::setWorldPosition(float posX,float posY,float posZ)
 {
        m_node->SetLocalPosition(MT_Point3(posX,posY,posZ));
-       //m_node->SetWorldPosition(MT_Point3(posX,posY,posZ));
+       m_node->SetWorldPosition(MT_Point3(posX,posY,posZ));
 }
 
 void   KX_MotionState::setWorldOrientation(float quatIma0,float quatIma1,float quatIma2,float quatReal)
@@ -85,7 +85,7 @@ void  KX_MotionState::setWorldOrientation(float quatIma0,float quatIma1,float qua
        orn[3] = quatReal;
 
        m_node->SetLocalOrientation(orn);
-       //m_node->SetWorldOrientation(orn);
+       m_node->SetWorldOrientation(orn);
 
 }