Possible mesh rotation at WORLD space issue

Hi here, I find that TransformNode.rotate or Mesh.rotate with space.WORLD may produce result that I’m not expected.

See demo: Babylon.js Playground

I create 2 cylinder, set them to same position and rotate them in WORLD space with same axis and angle.
Only different is that the second one has a parent node. Which I supposed should not affect the result of rotation in WORLD space. But as you can see, they turn to different directions.

Thanks every one for help!

Hi @resty and welcome to the forum. Must be something to do with the loaded model as it works on direct creation https://playground.babylonjs.com/#MQ7QNG#1

Yes it is. By default Babylon.js uses left handed system, need to switch to right handed one.

https://playground.babylonjs.com/#MQ7QNG#2

3 Likes