# Rotate Mesh/Body with Quaternion

**URL:** <https://discourse.threejs.org/t/rotate-mesh-body-with-quaternion/38838>\
**Category:** Questions\
**Tags:** rotation, quaternion, geometry\
**Created:** [June 3, 2022, 6:41pm UTC](https://discourse.threejs.org/t/rotate-mesh-body-with-quaternion/38838 "2022-06-03T18:41:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Refr3sh](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/refr3sh/32/26477_2.png) [@Refr3sh](https://discourse.threejs.org/u/Refr3sh)\
**Post date:** [June 3, 2022, 6:41pm UTC](https://discourse.threejs.org/t/rotate-mesh-body-with-quaternion/38838/1 "2022-06-03T18:41:30Z")

</div>

I have a body and I want to rotate it in y axis but with quaternion because I dont have rotation on the body.

Thanks

---

<div class="post-metadata">

**Author:** ![hofk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hofk/32/44944_2.png) [@hofk](https://discourse.threejs.org/u/hofk)\
**Post date:** [June 3, 2022, 6:56pm UTC](https://discourse.threejs.org/t/rotate-mesh-body-with-quaternion/38838/2 "2022-06-03T18:56:40Z")

</div>

Some things about the quaternion

> [@Quaternion - Axis, Angle Visualization](https://discourse.threejs.org/t/quaternion-axis-angle-visualization/1358):
>
> I’ve been using quaternions. Because rotation in space is not easy, I was looking for a simple visualization. I found a lot of theory about quaternions and a workable converter. [http://www.energid.com/resources/orientation-calculator/](http://www.energid.com/resources/orientation-calculator/) But no visualization for my own requirements. So I created it myself. Quaternion and axis, angle are continuously converted into each other. [quaternion] If you want to try the little helper, you will find him there: [http://threejs.hofk.de/](http://threejs.hofk.de/) or directly ther…

From the [Collection of examples from discourse.threejs.org](https://discourse.threejs.org/t/collection-of-examples-from-discourse-threejs-org/4315)

[https://hofk.de/main/discourse.threejs/2021/CarRacing/FlightRouteQuaternion.html](https://hofk.de/main/discourse.threejs/2021/CarRacing/FlightRouteQuaternion.html)  
[BasisToQuaternion](https://hofk.de/main/discourse.threejs/2021/BasisToQuaternion/BasisToQuaternion.html)  
[CarRacingQuaternion](https://hofk.de/main/discourse.threejs/2021/CarRacing/CarRacingQuaternion.html)

---

<div class="post-metadata">

**Author:** ![Refr3sh](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/refr3sh/32/26477_2.png) [@Refr3sh](https://discourse.threejs.org/u/Refr3sh)\
**Post date:** [June 3, 2022, 7:22pm UTC](https://discourse.threejs.org/t/rotate-mesh-body-with-quaternion/38838/3 "2022-06-03T19:22:11Z")

</div>

There is any formula to convert it I want to rotate on Y axis
