Very simple axis rotation demo

This is a VERY simple demonstration to show the positive direction of rotation around an axis.

The result: point your left hand thumb in the positive direction of the rotation axis. The mesh will rotate in the direction of your curled fingers.

I needed to know for sure, and other examples (those linked from Rotation Conventions) weren’t explicit in this regard.

2 Likes

Sorry, I don’t get this :stuck_out_tongue:

1 Like

Oh, of course.

Babylon.js is an open-source web 3d rendering engine. This First Step documentation may help!

2 Likes

@roland hes gotta be joking right?

:skull_and_crossbones:

I don’t think I’ve ever seen someone mansplain to a Jedi Master what BJS is. haha <3 I think hes just trolling.

3 Likes

I mean I didn’t get why is @HiGreg demoing such a simple thing :slight_smile:

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 :grinning:

1 Like

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

Keep it up bro! :heart_eyes_cat:

Awww, thats nice you two.

Now kith… :rofl:

None taken. All good. Agreed on the crazy compound rotations with Havok. Still trucking…

1 Like