condir: Class-Point Type-Vector
If the number of constrained degrees of freedom is 1, this value defines the normal of a plane that the object can move along or rotate in. If the number of constrained degrees of freedom is 2, this value defines an axis that the object can move or rotate about.
condof:Class-Point Type-Int
Identifies the number of constrained degrees of freedom for an anchor (0 to 3).
I've taken the chain example scene: (…/examples/nodes/dop/constraintnetwork/Chains.otl)
and set s@constraint_type = “all” , as I want the position constraint as well, with just modifying the amount of rotation freedom.
I just cant seem to wrap my head around the help cards explanation though. condir looks up conof's integer value from 0-3? How does condir define the vector value with a conof's value of 0 or 3, as it only mentions 1 &2 ?
Lets just say I want the constraints to limit the rotations on the chain to 15 degrees in all axis, how would I go about write the condir and conof attributes, in a new wrangle node? Is there any examples with the proper use of these attributes?
Cheers