Blender Git Commit Log

Git Commits -> Revision 07fc2aa

Revision 07fc2aa by Benoit Bolsee (master)
May 18, 2009, 08:22 (GMT)
BGE #18665: Servo control and relative motion

Servo control motion actuator did not work as expected when the object
is moving on a moving platform.

This patch introduces a new Ref field in the servo motion actuator
to set a reference object for the velocity calculation.
You can set the object during the game using the actuator "reference"
attribute; use an object name or an object reference.

The servo controller takes into account the angular velocity of the
reference object to compute the relative local velocity.


Commit Details:

Full Hash: 07fc2aa5268da7708a289fa785b0f0cbd9be2575
SVN Revision: 20252
Parent Commit: 3bda88b
Lines Changed: +155, -30

8 Modified Paths:

/source/blender/blenkernel/intern/sca.c (+9, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+17, -0) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+1, -0) (Diff)
/source/blender/src/buttons_logic.c (+28, -26) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+6, -1) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.cpp (+82, -1) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.h (+10, -2) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021