# 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](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/scaled-1680-/image-1652208969556.png)](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/image-1652208969556.png)

Hierarchy:

[![image-1652209016819.png](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/scaled-1680-/image-1652209016819.png)](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/image-1652209016819.png)

[![image-1652208982160.png](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/scaled-1680-/image-1652208982160.png)](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/image-1652208982160.png)

[![image-1652208995379.png](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/scaled-1680-/image-1652208995379.png)](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/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 <span style="text-decoration: underline;">**not**</span> nessecary for the math to work, but can be nice for debugging and visualization.

[![image-1652209122329.png](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/scaled-1680-/image-1652209122329.png)](https://vrclibrary.com/wiki/uploads/images/gallery/2022-05/image-1652209122329.png)