diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-06-19 02:10:00 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-06-19 02:10:00 +0400 |
commit | ec8448b88d9285624d61ce9196c7ad3643dc921e (patch) | |
tree | a8b88feac6e25d1c8aa0e45fb1a018e3b2b30e6c /source/gameengine/Ketsji/KX_SumoPhysicsController.cpp | |
parent | dcbcc125824c6debc082b7ba36082602bc63f9d3 (diff) |
bugfix/workaround for problem with hard-coded collision margins being too large.
Diffstat (limited to 'source/gameengine/Ketsji/KX_SumoPhysicsController.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_SumoPhysicsController.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp b/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp index 11a09a12e1e..d042a302eda 100644 --- a/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp +++ b/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp @@ -164,6 +164,11 @@ gameobj->SetPhysicsController(this,gameobj->IsDynamic()); GetSumoObject()->setClientObject(gameobj->getClientInfo()); } +void KX_SumoPhysicsController::SetMargin(float collisionMargin) +{ + SumoPhysicsController::SetMargin(collisionMargin); +} + void KX_SumoPhysicsController::setOrientation(const MT_Quaternion& orn) { |