I have a game in which there are various Position2D's dotted around a map for various tasks. I need a way to identify, for example, the closest 5 to a given coordinate.
This would be done every physics frame, so a computationally cheap way of achieving this is important.
Any suggestions would be great