Blender Git Loki

Git Commits -> Revision 3511f8e

Revision 3511f8e by Campbell Barton (master)
April 14, 2009, 12:34 (GMT)
BGE Physics
Clamp objects min/max velocity.
Accessed with bullet physics from the advanced button with dynamic and rigid body objects.
- useful for preventing unstable physics in cases where objects move too fast.
- can add linear velocity with the motion actuator to give smooth motion transitions, without moving too fast.
- minimum velocity means objects don't stop moving.
- python scripts can adjust these values speedup or throttle velocity in the existing direction.

Also made copy properties from an object with no properties work (in case you want to clear all props)

Commit Details:

Full Hash: 3511f8ef9fe6a2a6491fbae3a44a407f280a19e0
SVN Revision: 19714
Parent Commit: 1bc31fc
Lines Changed: +176, -20

15 Modified Paths:

/source/blender/makesdna/DNA_object_types.h (+3, -1) (Diff)
/source/blender/src/buttons_logic.c (+18, -0) (Diff)
/source/blender/src/editobject.c (+6, -7) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+22, -5) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.h (+5, -1) (Diff)
/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+49, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_IPhysicsController.h (+6, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+13, -1) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.h (+22, -1) (Diff)
/source/gameengine/Physics/common/PHY_IPhysicsController.h (+6, -0) (Diff)
/source/gameengine/Physics/common/PHY_Pro.h (+4, -2) (Diff)
/source/gameengine/PyDoc/KX_GameObject.py (+12, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021