$jointconstrain: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 29: | Line 29: | ||
: If allowed, sets the Friction value. | : If allowed, sets the Friction value. | ||
[[ | == See also == | ||
* [[QC Commands]] | |||
[[Category:Modeling]] | [[Category:Modeling]] |
Revision as of 02:36, 17 October 2007
Usage
$jointconstrain (Name) (Axis) (Type) (MinRange) (MaxRange) (Friction)
A QC command used to set the limit of 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, add this line to the .QC file: $jointconstrain "joint_spine" x limit 20.00 100.00 0.20
.
Parameters
Name
- Name of the bone.
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
- If allowed, sets the Friction value.