Click or drag to resize
DigitalRuneTwistSwingLimitMaximum Property
Gets or sets the maximum movement limit on the twist and swing axes.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public Vector3F Maximum { get; set; }

Property Value

Type: Vector3F

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 [-π, π].

Exceptions
ExceptionCondition
ArgumentOutOfRangeException A maximum swing limit is negative.
See Also