BGE Physics
authorCampbell Barton <ideasman42@gmail.com>
Tue, 14 Apr 2009 12:34:39 +0000 (12:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 14 Apr 2009 12:34:39 +0000 (12:34 +0000)
commit3511f8ef9fe6a2a6491fbae3a44a407f280a19e0
tree886dfd87cd3b9b05245f8e900f2e98c82ff376a2
parent1bc31fc7f901334f0ed20317985b2a84d51714ca
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)
15 files changed:
source/blender/makesdna/DNA_object_types.h
source/blender/src/buttons_logic.c
source/blender/src/editobject.c
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Ketsji/KX_BulletPhysicsController.cpp
source/gameengine/Ketsji/KX_BulletPhysicsController.h
source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_GameObject.h
source/gameengine/Ketsji/KX_IPhysicsController.h
source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.h
source/gameengine/Physics/common/PHY_IPhysicsController.h
source/gameengine/Physics/common/PHY_Pro.h
source/gameengine/PyDoc/KX_GameObject.py