The demo is because I couldn’t find the direction of rotation in the documentaion.
On Rotating around axis it talks about pivots and the order of rotations. In Rotation Conventions it has a variety of rotation descriptions of world vs. local and, again, the order of rotations.
Google AI, when searching “babylon direction of rotation,” says “In Babylon.js, rotations are counterclockwise when viewed in the positive direction of the specified axis.” I couldn’t find such a reference in the babylon docs.
I just needed to be sure because I’m about to find out if Havok Physics treats angular constraints the same way. I figured I’d post the super simple example for others. Uncomplicated by boxes, colors, or additional static or dynamic rotations.
Just a single world axes, and an axes at 0,0,0 rotating around X in a positive direction. And easy to change to any other axis.
I thoight you were being funny and I responded in kind
IMHO you have to add it then to the docs. With the PG as well.
I believe you are experiencing crazily compound rotation scenarios while working on the Havok debug stuff, scenarios so complex we never had a chance to find ourselves in, so yes it make sense to break them down to the simplest ones and to be sure how the rotations really works, so no offense, when I wrote