I have two characters I can control individually and at the same time, when controlling them both at the same time, I want to place my camera object between both characters. Can't figure it out.
Is this what you mean?
https://www.dropbox.com/s/u9sqydw35hmoo ... .capx?dl=0
I couldn't upload an attachment for some reason..
Find out the distance between them, e.g. horizontally X2 - X1
Divide by 2 to half it
Add to the original X1
That's brilliant thanks guys all working
Develop games in your browser. Powerful, performant & highly capable.
i believe the same is
This work if y1 and y2 are the same.
Otherwise, it will be :
x_middle = (x1+x2)/2
y_middle = (y1+y2)/2