Page 1 of 1

SetParent actuator problem

Posted: Sun Nov 30, 2008 11:35 pm
by jesterKing
We're trying to get the SetParent actuator to work, but for some reason the parented object somehow loses it's collision ability after being parented.

Essentially: a rigid body cube on a static plane, and a rigid body cube over the first cube. The first cube should get a keyboard sensor that triggers a Parent actuator with SetParent and as argument the second cube. For some reason the first cube will now fall through the plane. Short demo:

http://www.blender-fi.org/forum/gallery ... temId=2109

(Left/Right to rotate, Space for thrust, leftctrl for parenting).

Anyone got an idea what's wrong here? I tried commenting out the call to SuspendDynamics in KX_GameObject::SetParent, but that results in exploding physics. Is this a bug or does a work-around exist?

/Nathan