Vector Bounded to Cube

Vector Bounded to Cube

Windows
MacOS
Linux

Get a copy of this vector, clamped inside of an axis aligned cube centered at the origin.

Target is Kismet Math Library

Vector Bounded to Cube
In Vect
X0
Y 0
Z 0
In Radius
0.0
Return Value
X0
Y 0
Z 0

Inputs

In Vect
Vector
In Radius
Float

Half size of the cube (or radius of sphere circumscribed in the cube).

Outputs

Return Value
Vector

A copy of this vector, bound by cube.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss