Basically, I want to make sure the camera doesn’t go outside of certain collisions and basically show the player how the game looks out of bounds. So, I sorta want it to collide with entities, but the thing is, I don’t know how. If you go to my game, you’ll see 2 areas or stations. The camera shouldn’t allow the player to see anything outside the the stations. Basically I want it too forcefully stop the player from seeing outside these boxes, basically in theory colliding with the boxes or something like that. Does anyone have a good way to stop the camera from being able to see things out of bounds?
Link To Editor: https://playcanvas.com/editor/scene/953748