Skip to content

CVR IK Angle Limit

Angle constraint for an IK bone. Limits rotation within a cone around Axis (the swing) and optionally caps twist around the same axis. At runtime this component adds and configures a Final IK RotationLimitAngle on the same GameObject.

Local axis around which the cone opens. Default Vector3.down.

Half-angle of the swing cone in degrees (0–180). The bone’s forward direction can deviate this many degrees from Axis. Default 45.

Twist cap in degrees (0–180) around Axis. Default 180 (no twist cap).

On Awake, a RotationLimitAngle from the Final IK package is added to the same GameObject. The three fields are mirrored onto it every LateUpdate, so you can animate them at runtime.

  • CVR-GameFiles/ABI.CCK.Components/CVRIKAngleLimit.cs