Topic was automatically imported from the old Question2Answer platform.
Asked By
MemokingMH
I want to add camera borders for my game but I don’t know how to do or is it possible to do. I think I can make it work using 'if’s and checking camera position but it would be too long
Oh, do you mean like a ‘recording screen’ where the camera has the red recording dot and battery percentage?
Snail0259 | 2021-07-10 00:41
Sometimes it may take a few hours for a person who knows about the subject and can comprehend your question to give you a good answer, when you repost the question it won’t necessarily be answered faster but it will push other questions down which is why the site gives you that warning.
you could add mathemathical “clamp” for the camera the camera position or you could add an collider to the camera/or the player and make a wall arround the level.