Hey. I'm having trouble with the array maker actions;
Get farthest Game Object
Get farthest Game Object in Sight
Both actions are returning the closest game object.
I Set up a quick scene to reproduce the issue with 12 spheres (children of an empty game object) and a player model.
First I find the player game object and store it in a variable, then an array of the spheres is created at runtime using a "next Child loop" on the empty game object. This is all working as expected.
When i run the action(s) above though, the closest sphere is selected, rather than the furthest. I can move the character around, and it will update, but always with the closest sphere.
Obviously I wanted to make sure it was calculating distances correctly, so I tried using the "Sort Array by distance" action, and that works correctly, so theoretically i could work around the issue by sorting the array and selecting the last index value, but this seems like an expensive way around it.
Is it a problem with the action? or am I doing something wrong?
P.S. Naturally, i've updated to the latest version of ArrayMaker (Jan 2016).
Edit: creating the array at runtime isn't necessary to reproduce the issue, a pre-filled array of the spheres has the same issue