A constraint simulates an elastic cord. You can use a constraint to create effects such as a man bungee-jumping off a building. You can create a spring constraint between:
- one active or passive rigid body and a position in the workspace.
- two active rigid bodies.
- an active and passive rigid body.
To create a constraint
- Select the one or two rigid bodies you want to constrain.
- Select to display the options window.
- For the , select .
- If you are constraining two rigid bodies and want them to penetrate each other rather than collide upon contact, turn on .
If you turn on , playback of rigid body animation is faster.
- If you’re using a constraint on a single rigid body, turn on and enter X, Y, and Z values for the constraint’s position.
If you don’t turn on when you constrain a single rigid body to a position, the is created at the rigid body’s center of mass.
If you create a constraint for two rigid bodies, the constraint will extend from one center of mass to the other. The option is invalid for constraints between two rigid bodies.
Though a passive rigid body has a center of mass that Maya uses for default positioning of constraints, Maya doesn’t use the center of mass in dynamic calculations of passive rigid bodies.
- To set the attributes of the , open the section of the window.
- Click in the window.
To alter the constraint after creation, see Edit constraints.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License