Skip to main content

Normalizing a Vector

To normalize a vector we can use the LookAtConstraint. Make it look at the vector i.e. transform that you want to normalize. Give it a child with an offset of +1 on the Z-Axis. You have now normalized a vector.

 

image-1652208969556.png

 

Hierarchy:

image-1652209016819.png

 

image-1652208982160.png

image-1652208995379.png

As previously mentioned "A_Normalized" shows its position in local-space. However whe can show its world-space position by using another position constraint. This is not nessecary for the math to work, but can be nice for debugging and visualization.

image-1652209122329.png