Hello,
I'm having trouble making a object move to the nearest object2. I want sprite to pick the nearest sprite2 and move to that location. Each sprite object should move to the nearest sprite2 object, but for some reason both move to the same sprite2 object and it's not even the nearest one. I need some help guys, by the way I'm using rexrainbow behavior called moveto.
Here is a demo and the code:
https://dl.dropboxusercontent.com/u/114 ... index.html
Thanks in advance