Hi,
I have a problem with my camera. Based on the EntityX,Y and Z of 2 players, I zoom and place my camera (smoothly).
The problem I have is this:

What I am trying to accomplish is that the distance from player 1 and 2 has the same distance relativly to the camera viewport.
ps: In the picture I ofcourse ment "little distance" instead of "distance is low" :-D
What is the best way to accomplish this?
Thank you!
I have a problem with my camera. Based on the EntityX,Y and Z of 2 players, I zoom and place my camera (smoothly).
The problem I have is this:

What I am trying to accomplish is that the distance from player 1 and 2 has the same distance relativly to the camera viewport.
ps: In the picture I ofcourse ment "little distance" instead of "distance is low" :-D
What is the best way to accomplish this?
Thank you!