How can I add a camera orientation limit?

  1. What do you want to achieve? Like the title said, for example, you cannot look behind. And you can only look side ways, front and the above of the camera…
    Sorry for bad drawing

Sorry for late reply,
You can use math.clamp() to limit numbers, i don’t know much about it but i am sure if you do some research about math.clamp() you can add a orientation limit to camera.