playMaker

Author Topic: Array List Get Closest GameObject In Sight  (Read 3325 times)

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Array List Get Closest GameObject In Sight
« on: September 26, 2013, 10:07:44 AM »
Another little one. A derivative mix of get closest with physics linecast.

Finds the nearest game object in an array which is not blocked by any other object. Found it useful in TD games and such.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array List Get Closest GameObject In Sight
« Reply #1 on: September 27, 2013, 01:33:58 AM »
Thanks!

Jean

hipoh

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Array List Get Closest GameObject In Sight
« Reply #2 on: February 03, 2014, 06:47:40 PM »
Do all these get added into the new builds?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array List Get Closest GameObject In Sight
« Reply #3 on: February 04, 2014, 04:55:47 AM »
Hi,

 yep. I have added a reminder on this to not forget when I will allocate time.

bye,

 Jean