Rotation not working in a 3d asset

I have added a rotation to the 3d asset. but it seems to be doesnt working. Can i know why? Might be a silly mistake.

Playground -

Loaded glTFs are using rotation quaternions instead of euler angles:


Thank you, will check out!


        task.loadedMeshes[0].rotationQuaternion = null
        task.loadedMeshes[0].rotation.y = BABYLON.Tools.ToRadians(45);

(or the desired rotation angle in degrees)

Example -

1 Like

Thank you! made it very easy