blender/projectfiles_vc7
Benoit Bolsee e7384c9dd2 Commit patch #8799: Realtime SetParent function in the BGE
This patch consists in new KX_GameObject::SetParent() and KX_GameObject::RemoveParent() functions to create and destroy parent relation during game. These functions are accessible through python and through a new actuator KX_ParentActuator. Function documentation in PyDoc.
The object keeps its orientation, position and scale when it is parented but will further rotate, move and scale with its parent from that point on. When the parent relation is broken, the object keeps the orientation, position and scale it had at that time.
The function has no effect if any of the X/Y/Z scale of the object or its new parent are below Epsilon.
2008-04-06 18:30:52 +00:00
..
blender BGE correction: AddRef() on source object of property actuator to protect against crash if the source object is deleted (bad game design anyway) 2008-03-22 14:47:42 +00:00
gameengine Commit patch #8799: Realtime SetParent function in the BGE 2008-04-06 18:30:52 +00:00
kernel Filling in branch from trunk 2007-11-06 22:29:20 +00:00
sumo Filling in branch from trunk 2007-11-06 22:29:20 +00:00