Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: liuzhenli on January 11, 2017, 11:29:07 AM

Title: Request find the closest object filter by a list of game objects?
Post by: liuzhenli on January 11, 2017, 11:29:07 AM
hello,
may i request an action that  find the closest object filter by a list of game objects?
 :)
Title: Re: Request find the closest object filter by a list of game objects?
Post by: terri on January 11, 2017, 12:49:40 PM
you could use an array! there is a get closest from array action
(I know its not what you want but thought it could help)
Title: Re: Request find the closest object filter by a list of game objects?
Post by: liuzhenli on January 11, 2017, 09:52:25 PM
hmm. i dunt think it works for me..because imma using this action to find a object that may have same layer and tag with another one(closer) :(
Title: Re: Request find the closest object filter by a list of game objects?
Post by: jeanfabre on January 23, 2017, 01:21:53 AM
Hi,

 you'll need to use ArrayMaker, it has a action called ArrayListGetClosestGameObject and one called ArrayListGetClosestGameObjectInSight

Bye,

 Jean