Normalize Vector

From Planetside Software Wiki
Jump to: navigation, search

Node Description and Purpose
This node takes the vector from the Input and normalizes it. This means it converts it to a unit vector, which is a vector that has a length equal to 1.

Normalized or unit vectors are useful for all sorts of reasons. A prime example is when you want to find the angle between two vectors using the Dot product.

Node Type: Function

This node doesn't have any settings apart from the Input.

A single object or device in the node network which generates or modifies data and may accept input data or create output data or both, depending on its function. Nodes usually have their own settings which control the data they create or how they modify data passing through them. Nodes are connected together in a network to perform work in a network-based user interface. In Terragen 2 nodes are connected together to describe a scene.

A vector is a set of three scalars, normally representing X, Y and Z coordinates. It also commonly represents rotation, where the values are pitch, heading and bank.