Topic was automatically imported from the old Question2Answer platform.
Asked By
9BitStrider
I’m programming a boss that I want to be able to jump on the player. I want to set his X velocity based on how far away he is from the player. The farther away, the faster he travels horizontally. What’s the best way to calculate this?