Vector Snapped to Grid

Vector Snapped to Grid

Choose your operating system:

Windows

macOS

Linux

Gets a copy of this vector snapped to a grid.

Target is Kismet Math Library

Vector Snapped to Grid
In Vect
X0
Y 0
Z 0
In Grid Size
Return Value
X0
Y 0
Z 0

Inputs

In Vect
Vector
In Grid Size
Float (single-precision)

Grid dimension / step.

Outputs

Return Value
Vector

A copy of this vector snapped to a grid.