Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Doh on February 14, 2018, 08:47:43 AM

Title: Possible "get closest" bug
Post by: Doh on February 14, 2018, 08:47:43 AM
I've found that in my scenario using "array get closest game object" finds the wrong (the furthest) result between the 2 objects I have on the array, though if I replace it with an array maker array list and swap the action for "array list get closest game object" in the the same scenario it finds the correct (the closest) game object.

Using Unity 2017.3.0f3 and the latest stable release of Playmaker.

More details can be provided if this cannot be replicated.
Title: Re: Possible "get closest" bug
Post by: djaydino on February 15, 2018, 02:32:03 AM
Hi.
Hmm that's strange.

I check the code from both actions and they do exactly the same
Except that one takes the objects from a standard array and the other from the array list.

i did a few tests on "array get closest game object" but i can't repo this.
Title: Re: Possible "get closest" bug
Post by: jeanfabre on February 15, 2018, 02:50:38 AM
Hi,

 If you can provide a test scene to repro what you are seeing, this will help.

 Bye,

 Jean