playMaker

Author Topic: Possible "get closest" bug  (Read 1916 times)

Doh

  • Full Member
  • ***
  • Posts: 124
Possible "get closest" bug
« 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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Possible "get closest" bug
« Reply #1 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Possible "get closest" bug
« Reply #2 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