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:
authorErwin Coumans <blender@erwincoumans.com>2005-08-04 23:07:39 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-08-04 23:07:39 +0400
commit210ab537ce34a31714d5073ff2e539a67aaea9af (patch)
tree6303f916ed2fe5e214e10f7283ce11a3304b9b0b /source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
parentb12f80168174623742ebe99186a89746a2646a97 (diff)
improved deactivation, exposed more tweakable parameters to python,
fixed some copy/paste bug in inertia/inverse inertia. colors in deactivation debug
Diffstat (limited to 'source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
index d767b480756..6028efe86ee 100644
--- a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
+++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
@@ -917,7 +917,7 @@ void KX_ConvertBulletObject( class KX_GameObject* gameobj,
bm = new BoxShape(he);
bm->CalculateLocalInertia(ci.m_mass,ci.m_localInertiaTensor);
-
+ bm->SetMargin(0.05 * halfExtents.length());
break;
};
case KX_BOUNDCYLINDER: