.. it is still a bad idea to check distance every frame, try to space it out using some tricks.

It may work great for a small number of entities, but if you have a bunch you will start to get noticeable lag.


Sphere Engine--the premier A6 graphics plugin.