StateTree Tools

Ready-made StateTree tools for Unreal Engine 5


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

Normalize To Range

Plugin: StateTreeToolsCore Category: Math | Float

Returns the position of Value within [RangeMin, RangeMax] as a normalized fraction in [0, 1]. This is equivalent to mapping to an output range of [0, 1] and is useful for converting an absolute value into a proportion — for example turning a remaining health value into a 0-to-1 bar fill amount.


Configuration

Value

The value to normalize.

RangeMin

The lower bound of the input range. Defaults to 0.

RangeMax

The upper bound of the input range. Defaults to 1.

Result

(Value - RangeMin) / (RangeMax - RangeMin), representing Value’s position within the range.

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