playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
(Moderator:
600
) »
Get closest child[Solved]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Get closest child[Solved] (Read 3869 times)
Yanifska
Full Member
Posts: 163
Get closest child[Solved]
«
on:
November 18, 2013, 03:24:10 PM »
Hi,
could yo make such an action ?
I need to get the closest object to the mouse click inside a group of children.
Using tags or array would be to heavy for this setup as I am talking about dozens of small group.
thanks
yaniv
«
Last Edit: December 05, 2013, 05:38:09 PM by Yanifska
»
Logged
Visit my portfolio:
http://www.yanivcahoua.com/
jeanfabre
Administrator
Hero Member
Posts: 15563
Official Playmaker Support
Re: Get closest child
«
Reply #1 on:
November 19, 2013, 01:15:53 AM »
Hi,
Can you get back to me end of novembre on this?
Bye,
Jean
Logged
jeanfabre
Administrator
Hero Member
Posts: 15563
Official Playmaker Support
Re: Get closest child
«
Reply #2 on:
November 19, 2013, 01:18:40 AM »
Hi,
and Actually, I would totally recommand you use this library:
http://www.differentmethods.com/packages/UnityExtender.pdf
It has a findclosest and so much more. I think making custom actions to support this would be a very good thing.
bye,
Jean
Logged
Yanifska
Full Member
Posts: 163
Re: Get closest child
«
Reply #3 on:
December 05, 2013, 05:37:55 PM »
I bought this library but I wasn't able to use it as my c# is not so sharp(sic).
I finally added a ArrayMaker list and used the ArrayList Get Closest By Tag action.
I am afraid it is too heavy with arraymaker but it works.
Logged
Visit my portfolio:
http://www.yanivcahoua.com/
jeanfabre
Administrator
Hero Member
Posts: 15563
Official Playmaker Support
Re: Get closest child[Solved]
«
Reply #4 on:
December 09, 2013, 01:58:01 PM »
Hi,
don't worry, go with this, and profile, if it really turns out being a brake to performance, then you can look into optimizinh this very feature.
porting that library is not difficult, so please, bump me on this from time to time
bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
(Moderator:
600
) »
Get closest child[Solved]