Categories
How to determine which object from the array is closer?
There is an array of points, opponents go through them. How to determine which of the opponents is closer to the last point?
Answer the question
In order to leave comments, you need to log in
* Calculate the distance to each enemy * Choose the minimum
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question