Change width of camera

How to make a camera zoom out, in order to keep two objects moving in different directions visible on the screen.
how to create a split screen.

This is for smooth zoom out, when one of the player goes out of the screen.

And I don’t know about split screen.

1 Like

Thanks it works perfectly. I also need the camera to follow the players where by it zooms out in order to show both players and it follows the players.

1 Like

For that add some more conditions. LIke:

if two players’ distance is not below 500 zoom camera to 0.5
if two players’ distance is not below 600 zoom camera to 0.8
so on…

You can use center camera on an object. (I’m not sure if the camera will move smooth then)

1 Like