Blender Git Loki

Git Commits -> Revision 509ca83

Revision 509ca83 by Benoit Bolsee (master)
January 14, 2009, 22:33 (GMT)
BGE patch 18065: gameobj mass writeable + setmass actuator. This patch allows to change the mass of a dynamic or rigid body object during the game. Two methods are available: in a Python script by setting the mass attribute of the game object; by logic brick with the Edit Object->Dynamics->Set Mass actuator. The mass can only be set on dynamic objects and must be a positive floating point value.

Commit Details:

Full Hash: 509ca83ef1d10fab4903981714cfab3719280e04
SVN Revision: 18510
Parent Commit: 00c12e0
Lines Changed: +53, -13

12 Modified Paths:

/source/blender/makesdna/DNA_actuator_types.h (+1, -1) (Diff)
/source/blender/src/buttons_logic.c (+7, -2) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+20, -1) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.h (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+6, -5) (Diff)
/source/gameengine/Ketsji/KX_IPhysicsController.h (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp (+6, -1) (Diff)
/source/gameengine/Ketsji/KX_SCA_DynamicActuator.h (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.h (+1, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021