rotationQuaternion value update for rotation

https://playground.babylonjs.com/#1ST43U#653

For a box, I know the box.rotationQuaternion, how can I adjust the box.rotationQuaternion to rotate 180 degrees along the x-axis?

Related Idea: QuaternionRotation follow by a QuaternionRotation

Here are 4 methods to rotate your box 180 degrees on the X axis:

Rotation | Babylon.js Playground (babylonjs.com)

It all depends on the way you want to do it, of course. But the idea is - multiplication :slight_smile:

2 Likes

This looks awesome.