I’m creating a 2D game and I wanted to develop a style of camera like when the character leaves the edge of the screen, or touches the end of the screen, the camera changes to the next position… Like: Sem-t-tulo hosted at ImgBB — ImgBB
If the player touch the trigger the camera goes to the next location, but, if the player goes back the camera returns… I tried to create one and searched for a solution but I haven’t found anything…
I was just using it as a simple way to hold more values because you need a width and height to create a box(V4.xyzw). So I am using the z and w to hold width and height.