Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Ketsji/KX_BulletPhysicsController.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_BulletPhysicsController.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp b/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp
index e6b85e3f42a..c7f226e0883 100644
--- a/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp
+++ b/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp
@@ -45,9 +45,19 @@ void KX_BulletPhysicsController::RelativeTranslate(const MT_Vector3& dloc,bool l
CcdPhysicsController::RelativeTranslate(dloc[0],dloc[1],dloc[2],local);
}
+
void KX_BulletPhysicsController::RelativeRotate(const MT_Matrix3x3& drot,bool local)
{
+ printf("he1\n");
+ float rotval[12];
+ drot.getValue(rotval);
+
+
+
+ printf("hi\n");
+ CcdPhysicsController::RelativeRotate(rotval,local);
}
+
void KX_BulletPhysicsController::ApplyTorque(const MT_Vector3& torque,bool local)
{
}