TwistSwingLimitMaximum Property |
Namespace: DigitalRune.Physics.Constraints
The maximum movement limits in radians: (MaxTwistAngleX, MaxSwingAngleY, MaxSwingAngleZ). The default is (0, π/4, π/4), which means no twist and the cone opens to +45° from the twist axis. The maximum limits of the swing axes must not be negative.
The twist and swing angles are angles in the range [-π, π].
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A maximum swing limit is negative. |