Join Aaron F. Ross for an in-depth discussion in this video Setting constraint limits, part of Dynamic Simulations with Bullet Physics in Maya.
…At this point, our hinge constraint is working.…But it has no limits and so the door is able to spin around endlessly.…Let's apply some limits to the rotations of that constraint.…Select the Constraint node and note that the rotate x value for…that constraint is negative 90 degrees rather than positive.…Let's open up the Attribute Editor, Ctrl+A.…And in that Constraint Shape node, open up Limits and…you'll see Angular Constraint Z is set to Free.…
And we want to choose Limited.…And now will Angular Constraint Minimum and…Maximum in Z both set to 0, there will be no rotations.…So it's not able to actually rotate.…Let's set the Angular Constrain Maximum in Z to a value of 160 degrees.…And now if we get in close on that Constraint icon,…we can see that it actually shows us the range of rotations here.…If I set this to a lower value to like 90 degrees,…we would see that there's less of a rotational freedom.…
Set that back to 160.…And now if we play our simulation,…the door actually only is able to rotate 160 degrees.…
AuthorAaron F. Ross
- Loading the Bullet plugins
- Creating static and dynamic bodies
- Adjusting solver attributes
- Integrating keyframes
- Creating and transforming constraints
- Creating rigid sets
- Holding set members together with a Glue constraint
- Creating soft bodies
- Baking a soft-body simulation
- Inflating a soft body with Pressure
Skill Level Advanced
1. Bullet Rigid Body Dynamics
2. Integrating Keyframes with Dynamics
3. Bullet Rigid Body Constraints
4. Bullet Rigid Sets
5. Bullet Soft Body Dynamics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.