playMaker

Author Topic: Array get closest game object (in sight)[SOLVED]  (Read 1324 times)

marv

  • Junior Playmaker
  • **
  • Posts: 50
    • View Profile
Array get closest game object (in sight)[SOLVED]
« on: April 02, 2017, 05:22:48 AM »
Heya

Those two actions do exist for Arraymaker and seem like a logical addition to the new Playmaker array variables.

I assume using them in combination with a spherecast to get a pool of units in range of a unit and then select the closest one is less heavy on performance than just using "find closest", since that one (I assume) tests against all objects in the scene.
« Last Edit: January 11, 2019, 12:38:44 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13720
  • Official Playmaker Support
    • View Profile
Re: Array get closest game object (in sight)
« Reply #1 on: April 17, 2017, 11:52:29 PM »
Hi,

 You are right, I'll create counter parts of these actions for the FsmArray.

 Bye,

 Jean

Gua

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Andrii Vintsevych
Re: Array get closest game object (in sight)
« Reply #2 on: October 21, 2017, 12:51:11 PM »
Any news on this action?
« Last Edit: October 21, 2017, 12:53:29 PM by Gua »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13720
  • Official Playmaker Support
    • View Profile
Re: Array get closest game object (in sight)
« Reply #3 on: October 23, 2017, 01:34:14 AM »
Hi,

 Thanks for the reminder, getting caught with the daily overdose of pending work and updates :)

 bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13720
  • Official Playmaker Support
    • View Profile
Re: Array get closest game object (in sight)
« Reply #4 on: October 30, 2017, 11:41:23 PM »
Hi,

 ok, all up  on the Ecosystem, thanks for your patience :)

 bye,

 Jean

serenefox

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Serenefox Games
Re: Array get closest game object (in sight)
« Reply #5 on: December 31, 2018, 02:31:21 PM »
Is there a 2D option for this? I tried to modify it but was unsuccessful.

Edit: I started a new thread for this:
https://hutonggames.com/playmakerforum/index.php?topic=19903.0
« Last Edit: December 31, 2018, 07:38:07 PM by serenefox »
Most Recent Published Games:
Don't Pop! Dungeon - iOS/Android