Blender Git Loki
Git Commits -> Revision 9d73cbf
Revision 9d73cbf by Mitchell Stokes (master) July 9, 2012, 04:57 (GMT) |
As a response to issue [#28483] "Enable/Disable Rigid Body actuator do nothing" reported by Jean-Francois Gallant (pyroevil), I'm adding preliminary support to enable and disable rigid body physics on dynamic objects. This is can be done via the Edit Object Actuator or through KX_GameObject.enableRigidBody() and KX_GameObject.disableRigidBody(). Thanks to Sergej Reich for his help with the patch. |
Commit Details:
Full Hash: 9d73cbf2c4104282eef7b022a3381da64d3077f1
SVN Revision: 48748
Parent Commit: 4ff0efd
Lines Changed: +21, -27
5 Modified Paths:
/doc/python_api/rst/bge.types.rst (+0, -8) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp (+8, -10) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+8, -9) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.h (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp (+8, -10) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+8, -9) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.h (+4, -0) (Diff)