Blender Git Loki
Git Commits -> Revision a397b4b
Revision a397b4b by Benoit Bolsee (master) July 18, 2008, 14:40 (GMT) |
BGE bug fix (good for 2.47): SetParent actuator did not work on dynamic objects. Dynamics will now be disabled automatically and the object will be set ghost for the duration of the parenting; this is to avoid static interaction with the parent object. The dynamic state is restored when the parenting is removed with RemoveParent actuator. This fix also applies to setParent() and removeParent() python functions. |
Commit Details:
Full Hash: a397b4b82fb9c658bb9e034e96692b9e5af5819a
SVN Revision: 15623
Parent Commit: 6786c51
Lines Changed: +36, -14
9 Modified Paths:
/source/gameengine/GameLogic/SCA_IObject.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+18, -5) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.h (+3, -2) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+9, -1) (Diff)
/source/gameengine/Ketsji/KX_IPhysicsController.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_OdePhysicsController.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_OdePhysicsController.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+18, -5) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.h (+3, -2) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+9, -1) (Diff)
/source/gameengine/Ketsji/KX_IPhysicsController.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_OdePhysicsController.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_OdePhysicsController.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.h (+1, -1) (Diff)