Download

How to create camera bounds

I have been trying to make boundaries for my camera, but blocking volumes don’t stop the camera they extend the spring arm inward. I have also tried making it store the Y location(since it is a side scroller and therefore doesn’t rotate the camera) and as soon as the value is no longer equal it keep the y value the same, but it always jolts the camera forward then back to where it needs to be, so is there a way to make a camera boundary that stops the camera from moving any farther in the direction the player moves?