Blender Git Commit Log
Git Commits -> Revision 8e1cf42
Revision 8e1cf42 by Benoit Bolsee (master) September 26, 2008, 18:03 (GMT) |
BGE patch: local/global flag to distance contraint actuator. Previously the distance constraint actuator was always working in local axis. The local flag allows to cast the ray along a world axis (when the flag is not selected). The N flag works differently in this case: only the object orientation is changed to be parallel to the normal at the hit point. The linear velocity is now changed so that the speed along the ray axis is null. This eliminates the need to compensate the gravity when casting along the Z axis. |
Commit Details:
Full Hash: 8e1cf42dbd23d99db8e06617f37abec9ab5a146b
SVN Revision: 16749
Parent Commit: 8b46e65
Lines Changed: +101, -45
7 Modified Paths:
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+17, -0) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+2, -0) (Diff)
/source/blender/src/buttons_logic.c (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_ConstraintActuator.cpp (+75, -41) (Diff)
/source/gameengine/Ketsji/KX_ConstraintActuator.h (+2, -1) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+17, -0) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+2, -0) (Diff)
/source/blender/src/buttons_logic.c (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_ConstraintActuator.cpp (+75, -41) (Diff)
/source/gameengine/Ketsji/KX_ConstraintActuator.h (+2, -1) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+1, -1) (Diff)