Rotation Control with Sphere

Hi !!

I want to control the rotation of a mesh by a simple Drag&Drop on a sphere around that mesh
But I have pain with calculating the good rotation to apply…

Here’s a playground of what I’ve done for now:

Thank you

Rotation Control Sphere | Babylon.js Playground (
I guess this is the result you want?


Yes !! Thank you so much, I’ve search for so many other ways to do it, and it was “just” one missing line, but THE line :joy:

1 Like