diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2005-08-08 21:08:42 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2005-08-08 21:08:42 +0400 |
commit | 29f06ad76e7c718425e61381c29aa1b985200d62 (patch) | |
tree | 9bde56dbc3bc61c2191f8d61ba862fbd207cd12b /source/gameengine/Ketsji/KX_BulletPhysicsController.cpp | |
parent | 7f98c960b530782fd0a6d34a222a8cd8d80ff35b (diff) |
some more work on bullet raycast
Diffstat (limited to 'source/gameengine/Ketsji/KX_BulletPhysicsController.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_BulletPhysicsController.cpp | 10 |
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) { } |