Camera script that follow two fighters (Sou Calibur like)
I'm working on a fight game, and I finally successed to write a script for my camera. The purpose of the script is that the camera must always show the two fighters, sideways, and don't bump when the fighters pass through each other (like when they jump above). When the fighters are growing far away from each other, the camera move back.
Let me know about what you're thinking about the script, I'll be pleased to have feedback.