# How do I find the rotateX,rotateY, and rotateZ values to make any vector vertical?

**URL:** <https://discourse.processing.org/t/how-do-i-find-the-rotatex-rotatey-and-rotatez-values-to-make-any-vector-vertical/29220>\
**Category:** Processing\
**Created:** [April 8, 2021, 1:16pm UTC](https://discourse.processing.org/t/how-do-i-find-the-rotatex-rotatey-and-rotatez-values-to-make-any-vector-vertical/29220 "2021-04-08T13:16:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 8, 2021, 1:33pm UTC](https://discourse.processing.org/t/how-do-i-find-the-rotatex-rotatey-and-rotatez-values-to-make-any-vector-vertical/29220/2 "2021-04-08T13:33:53Z")

</div>

Check out line3D function here [Controlling rotational motion in Processing - #2 by Chrisir](https://discourse.processing.org/t/controlling-rotational-motion-in-processing/10629/2)

---

_[View the full topic](https://discourse.processing.org/t/how-do-i-find-the-rotatex-rotatey-and-rotatez-values-to-make-any-vector-vertical/29220)._
