Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsCore Category: Math | Float
Constrains an angle in degrees to lie within a specified angular range, wrapping the angle first so the comparison is performed in a consistent space. Use this to restrict a turret or camera yaw to an allowed arc, or to keep a rotation offset within a comfortable range.
The angle in degrees to clamp.
The lower angular bound in degrees. Defaults to 0.
The upper angular bound in degrees. Defaults to 360.
AngleDegrees constrained to [MinAngleDegrees, MaxAngleDegrees].
Property functions are not available in UE 5.4. This node requires UE 5.5 or later.