Invert camera rotation?

Any ideas how I can invert the angles that camera follows when dragging with the mouse? In this playground I would like the board to red board to move with the camera as opposed to against it?

Final question, how I can restrict the rotation of certain axes?

Hello you can change the direction (on both X and Y) by setting camera.angularsensibility *= -1

Perhaps you only want to change it on the Y axis? If this is the case I need to add a invertYAxis property for you

1 Like

This works perfectly. Thank you.

1 Like

Hi, I’m new to this and I don’t know how to implement the invertYAxis, could you explain to me how you did it?
Thanks in advance

Here is how to start contributing : Start Contributing to Babylon.js | Babylon.js Documentation

I’m pretty sure I just followed the advice given by @Deltakosh 🤷

1 Like