How fighting game camera work?

How to make the character zoom out when far from the enemy and zoom in when near the enemy
Like this


1 Like

Thank you :heart_eyes:
Love u so much