StateTree Tools

Ready-made StateTree tools for Unreal Engine 5


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

Vector Distance

Plugin: StateTreeToolsCore Category: Math | Vector

Returns the Euclidean distance between two points in 3D space. This is the length of the vector Left - Right. Use this to compare actor positions โ€” for example checking whether an enemy is within attack range or whether a patrol point has been reached.


Configuration

Left

The first point.

The second point.

Result

The distance between Left and Right as a float.

Unreal Engine Version Notes

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


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