diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-06-17 10:54:35 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-06-17 10:54:35 +0400 |
commit | 5de1ddf96ccf715c4c1eeb189328a72cd250ab4d (patch) | |
tree | 42dba7c751f1a7e9ca9023011011b14c27235f90 /source/gameengine/Ketsji/KX_BulletPhysicsController.cpp | |
parent | 88f3ec3fdb087fcdcf726132c260ea1b5cdf4c06 (diff) |
BGE bug #18931: YoFrankie bug in 249-trunk (works in 248).
Diffstat (limited to 'source/gameengine/Ketsji/KX_BulletPhysicsController.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_BulletPhysicsController.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp b/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp index 748b0667061..db1595db36f 100644 --- a/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp +++ b/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp @@ -402,6 +402,8 @@ void KX_BulletPhysicsController::RestoreDynamics() btRigidBody *body = GetRigidBody(); if (body && m_suspended) { + // before make sure any position change that was done in this logic frame are accounted for + SetTransform(); GetPhysicsEnvironment()->updateCcdPhysicsController(this, m_savedMass, m_savedCollisionFlags, |