Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsCore Category: Math | Float
Returns true if Left and Right differ by no more than ErrorTolerance. This is the preferred way to compare floats for equality when the values may have accumulated small floating-point errors โ for example when comparing a computed distance to a target distance.
The first float value.
The second float value.
The maximum absolute difference that still counts as equal. Defaults to 1e-6.
true if |Left - Right| <= ErrorTolerance, otherwise false.
Property functions are not available in UE 5.4. This node requires UE 5.5 or later.