14 lines
897 B
Plaintext
14 lines
897 B
Plaintext
#title SetConeLimit [RCBasic Doc]
|
|
#header Sub SetConeLimit( constraint_id, swingSpan1, swingSpan2, twistSpan, softness, bias_factor, relaxation_factor)
|
|
|
|
Sets the angular limits for the rotation of the constrained actors. These limits specify how much twisting and swinging is permitted between the two actors connected by the constraint, ensuring the motion stays within a desired range.
|
|
|
|
<b>Softness:</b> Determines how soft or hard the constraint limits are. A value of 1.0 means the limits are hard, while lower values make the limit softer, allowing some flexibility.
|
|
|
|
<b>Bias Factor:</b> This parameter defines how quickly the constraint should try to correct errors that bring it near or beyond the limit.
|
|
|
|
<b>Relaxation Factor:</b> This affects how fast the constraint will "relax" after reaching its limit, allowing it to stabilize after hitting the constraint.
|
|
|
|
#ref GetConeLimit
|
|
|