Skip to content

CVR IK Hinge Limit

Hinge constraint for an IK bone. Constrains rotation to a single axis and optionally caps the min and max angle around that axis. At runtime this component adds and configures a Final IK RotationLimitHinge on the same GameObject.

Local hinge axis. Default Vector3.forward.

When enabled, the hinge is clamped between Min Angle and Max Angle. When disabled, only the single-axis constraint is enforced.

Lower angle bound in degrees. Default -45.

Upper angle bound in degrees. Default 45.

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

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