Hello everybody,
For my
Racers Mod I'd like to add checkpoints. So you add "spawn points" for the checkpoints (laser beam sprite) and on touch one CP will be passed.
Example
(before Touch) : Checkpoints : 1 / 16
(after Touch) : Checkpoints : 2 / 16
Now I want to show the distance to the next Checkpoint in the HUD, but how do I get the nearest entity (name : "checkpoint") and it's distance from player?
__________________