$jointconstrain: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
<code>$jointconstrain (Name) (Axis) (Type) (MinRange) (MaxRange) (Friction)</code> | <code>$jointconstrain (Name) (Axis) (Type) (MinRange) (MaxRange) (Friction)</code> | ||
A [[ | A [[QC command]] used to limit a joint's movement when compiling the [[collision model]]. | ||
For example: to limit ''joint_spine'' on the X axis with a range from 20 to 100 and a set friction of 0.20: <code>$jointconstrain "joint_spine" x limit 20.00 100.00 0.20</code>. | For example: to limit ''joint_spine'' on the X axis with a range from 20 to 100 and a set friction of 0.20: <code>$jointconstrain "joint_spine" x limit 20.00 100.00 0.20</code>. | ||
Line 33: | Line 33: | ||
[[Category:QC Commands]] | [[Category:QC Commands]] | ||
[[Category:Modeling]] |
Revision as of 14:00, 9 August 2006
Usage
$jointconstrain (Name) (Axis) (Type) (MinRange) (MaxRange) (Friction)
A QC command used to limit a joint's movement when compiling the collision model.
For example: to limit joint_spine on the X axis with a range from 20 to 100 and a set friction of 0.20: $jointconstrain "joint_spine" x limit 20.00 100.00 0.20
.
Parameters
Name
- Name of the joint.
Axis
- X, Y, or Z.
Type
- Free
- The joint can move between a MinRange of -360 and a MaxRange of 360 with a selectable Friction. Note that user specified MinRange and MaxRange values are ignored.
- Fixed
- The joint does not move at all. The MinRange, MaxRange, and Friction values are locked at 0.
- Limit
- The joint is completely customizable. The user must specify MinRange, MaxRange, and Friction values.
MinRange
- If allowed, sets the minimum range allowed for this joint in degrees. (No lower than -360)
MaxRange
- If allowed, sets the maximum range allowed for this joint in degrees. (No higher than 360)
Friction
- Sets the Friction value.