Related to camera

how can I limit the camera position inside any object (like room)?

Hello! Please provide us with a Playground with your use case so we can understand your needs better.

Usually it is done with the help of camera collision system - Camera Collisions | Babylon.js Documentation
Example -