Removing Camera X rotation with UniversalCamera

How do I disable camera X rotation with the UniversalCamera so that the camera does not rotate up and down?

You could just reset it on every frame:

Babylon.js Playground (

That would probably be the simplest solution…

1 Like

Hi @Michael_Scherotter1 just checking in, was your question answered?