The Multi-Referential constraint lets you create a complex form of Parent/Child constraint that lets you use more than one transformation reference as a Source object.
To create a Multi-Referential constraint:
- Select the model to be the Rigid object (or child) in the Scene browser or Viewer window and Alt-drag it into the Reference (Ref) field of the Key Controls.
Note: Unlike other constraints, the Multi-Referential constraint is created automatically when you drag objects into the Key Controls Reference field.
In the following figure, the “Driver” (B) is assigned to the Reference (Ref) field.
A basic Multi-Referential constraint example A. “Car” B. “Driver”
- Next, select the model you want to assign as the Source object, in this case, the “Car”, in the Scene browser or Viewer window, Alt-drag it into the Reference (Ref) field of the Key Controls, and select Set as Source object from the menu that appears.
Note: When you drag a Source object into the Reference (Ref) field, the Reference field still shows the name of your Rigid object. If it does not, reselect the Source object in the Scene browser until you see it appear in the Reference (Ref) field.
- Click the Key (K) button next to the Reference field in the Key Controls to set a keyframe for the child object.
- Advance the scene to the moment where the Rigid object is to join the Source object .
Advance the scene to the keyframe before the driver meets the car.
- Select the Source object (Car) from the Key Controls Reference menu. A Key is automatically set.
A. Select the Source object from the Reference menu. B. The “Driver” joins the “Car” and they drive off together.
Note: If you use the Key Controls window to create the constraint, the constraint is automatically activated.
- To join the Rigid object to another source object, repeat Step 2 onwards, but select the other Source object from the Reference menu in the Key Controls.
Multi-Referential Constraint settings A. Active option
If there are any jumps in the animation, click Sync in the Key Controls to synchronize the animation of the two objects.
Note: You can also use the Multi-Referential constraint with multiple Rigid objects and no Source object to create a multiple-pivot effect. The Rigid object currently selected in the Reference (Ref) field is used as the Source object.
- To create another Multi-Referential constraint, simply drag a Multi-Referential constraint from the Asset browser into the Viewer window and assign new Rigid and Source objects.