StateTree Tools

Ready-made StateTree tools for Unreal Engine 5


Project maintained by StateTreeTools Hosted on GitHub Pages — Theme by mattgraham

Sign

Plugin: StateTreeToolsCore Category: Math | Float

Returns -1 if Value is negative, 0 if it is zero, or 1 if it is positive. Use this to extract the direction of a value without its magnitude โ€” for example to determine which side of a boundary an actor is on, or to flip the sign of another value conditionally.


Configuration

Value

The float value to extract the sign from.

Result

-1, 0, or 1 depending on whether Value is negative, zero, or positive.

Unreal Engine Version Notes

Property functions are not available in UE 5.4. This node requires UE 5.5 or later.


โ† Back to Math | Float ยท โ† Back to home