Studio and Graph › Voxel › Math
Vec3 Normalize
Unit-length version of a 3D vector. Zero length safely returns (0, 0, 0).

The Vec3 Normalize node
When to use it
Unit-length version of a 3D vector. Zero length safely returns (0, 0, 0).
Do this before any dot product you intend to read as an angle.
The zero guard means a degenerate direction goes quietly to nothing rather than poisoning the whole field with a value the mesher cannot use.
Pins
| Pin | Type | Description |
|---|---|---|
X |
Number | X component of the input vector. |
Y |
Number | Y component of the input vector. |
Z |
Number | Z component of the input vector. |
| Pin | Type | Description |
|---|---|---|
NX |
Number | Normalised X component. |
NY |
Number | Normalised Y component. |
NZ |
Number | Normalised Z component. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.