Is there a way to lock the universal camera to certain axis?


I’m interested on creating an FPS sort of but the player is stationary meaning I need the camera to not move forward/backward, or up/down only left right (Think of a turret).

Is this possible or should i use another camera that can do this more easily?

Welcome aboard!

This doc should help: Customize Camera Inputs - Babylon.js Documentation

1 Like

I am not sure if there is better solution, but something like this should work