Difference between revisions of "Normalize Vector"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
 
Line 6: Line 6:
 
'''Node Type:''' Function
 
'''Node Type:''' Function
 
<br /><br />
 
<br /><br />
'''Settings:'''
+
'''Settings:'''<br />
 
This node doesn't have any settings apart from the Input.
 
This node doesn't have any settings apart from the Input.

Latest revision as of 06:49, 9 May 2011

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

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

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.