Joint object parenting
 
 
 

The relationship between Joint objects is important in determining the behavior of a joint and how much reaction is carried through it. This relationship becomes even more important when you create a chain of multiple joints. Whether an object is a parent or child object affects the direction that the reaction to the collision is spread, or propagated.

For example, to make a door swing back and forth in a door frame, the door frame must be the parent and the door be the child. If you assigned these Joint objects incorrectly, where the door was the parent and the door frame the child, the door would remain stationary while the dry-farm would swing back and forth.

The Parent/Child relationship can also define the number of objects connected to the parent. For example, one parent object can have many children that are linked to it by a joint, however you cannot have one child with many parents as this creates solve conflicts.

The following sections illustrate the reaction created by the collision propagation setting of each object when it is applied to three teapot models in a chain.

Three models before collision. (First model is set to Passive.)

Two way

A collision with either parent or child object affects the other. The collision reaction is spread through every connection.

In the following image, all objects in the chain are affected when the objects are set to Two Way propagation.

Two-way propagation A. Collision with second object B. Collision with third object

Parent-to-child

The Parent-to-Child relationship creates a one-way collision where the parent object affects the child object, but a collision with the child object does not affect the parent object.

The following image shows the result when an object is clicked in a chain where all objects are set to Parent-to-Child Propagation. In A, a collision is triggered with the second object, the effect of which influences its child, the third object. In B, a collision occurs with the third object, but it has no child to which it can pass its reaction, so only the third object is affected.

Parent-to-child A. Collision with second object B. Collision with third object.

Child-to-Parent

The Child-to-Parent relationship creates a one-way collision where the child object affects the parent object, but a collision with the parent object does not affect the child object.

The following image shows the result when an object is clicked in a chain where all objects are set to Child-to-Parent Propagation. In A, a collision occurs with the second object where it cannot pass its reaction to the first object, its parent, because it is set to passive. In this case, only the object that has the collision is affected. In B, a collision occurs with the third object that is passed to its parent, the second object.

Child-to-Parent A. Collision with second object B. Collision with third object

No Propagation

A collision does not pass from the affected object to any of the joined objects.

The following image shows the result when an object is clicked in a chain where all objects are set to No Propagation. The collision behavior only affects the collision object and does not pass on the reaction to any other objects.

No Propagation A. Collision with second object B. Collision with third object.