Houdini 20.5 Nodes APEX nodes

Normalize<T>

Normalizes a vector.

On this page
Since 20.0

Normalizes the vector vec and returns its original length.

Inputs

vec: Vector2, Vector3, Vector4

Vector to normalize.

Outputs

normalized: Vector2, Vector3, Vector4

Normalized vector.

length: Float

Original length of vector vec.

See also

APEX nodes