Jump to content

Constraint Network - Constraint_Type = 'rotation'


Recommended Posts

I have no idea if this is any use to you but here's a scene that shows condir in action (with condof set to 2). The first .gif (condir.gif) has both position and rotation constrained whilst the second has just rotation. The constraint axis is Y. In the first gif you can see how movement is only allowed along Y and rotation is only allowed around Y. If you go into the pointwrangle and change the constraint to rotation only you get the second .gif where movement is allowed anywhere but rotation is still only allowed around Y. This scene does not work properly prior to version 16.0.642 as a bug with condir was fixed from that point onwards (i.e rotation about x was the same as rotation about z).

hard_hinge_daryl.hip

condir.gif

condir_a.gif

  • Like 4
  • Thanks 3
Link to comment
Share on other sites

If you switch the condof to 1 and constrain both rotation and position you're limiting movement to anywhere in the plane whose normal is y (which is why in the .gif below you can see the box only moves along x and z) and you're limiting rotation to any rotation axis that can sit on that plane..

condir_b.gif

hard_hinge_daryl2.hip

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

After playing with this scene for a couple hours....I really love the flexibility this attribute based system provides.  It makes me wish there was something similar in CHOPs for SOP constraints.  CHOP Constraints just seems weird after understanding Constraint Networks in DOPs.

What really made it clear for me was the Constraint Relationship Guide - set it to a primary color, move to Frame 1, and then change the constraint_type, condir, and condof attribute values - the Constraint Relationship Guide actually updates to display different Guide Geo based on these attributes.  Makes it super clear why things are responding they way they are to forces.

Edited by Daryl Dunlap
Link to comment
Share on other sites

What I'm STILL not crystal clear on is the relationship between the Anchor + Constraint + Constraint Relationship.

Is it:  I can have an Anchor, and an Anchor has a Constraint Type/Direction/DOF, and an Anchor Constraint can have a Relationship to one or more Anchor Constraint(s)?

edit:  I read the Docs one last time....summarizing: A Constraint is made up of (2) Anchors defined by a (2) point polygon.  Each point in the polygon is an Anchor that can define a type/direction/dof.

Edited by Daryl Dunlap
Link to comment
Share on other sites

  • 4 years later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...