Hi.
I am working on a platformer game which have a 3d style an I'm using the 3DCamera.
Right now the camera system is made for one player.
I want to have it work for 2 players also. The camera should zoom in/out depending on the distance between the players, so they are always visible in the viewport.
I would be very happy if someone could help me with this!
I've made an example.
https://www.dropbox.com/scl/fi/e7axdvm77n2iw89wkfauf/3DCamera_2Players.c3p?rlkey=8d8zyq6fr0ccmb5ujvkr8bllo&dl=0