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 Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
ArrayMaker
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: ArrayMaker (Read 2141 times)
Bartec
Playmaker Newbie
Posts: 14
ArrayMaker
«
on:
September 19, 2017, 01:33:02 PM »
Hi all,
i need the easyest way to store all sighted objects in a playmaker array list proxy (Script), but just when they are sighted, else remove them.
regards.
Logged
shinodan
Full Member
Posts: 180
Re: ArrayMaker
«
Reply #1 on:
September 19, 2017, 03:02:39 PM »
How are you "seeing" them? a Raycast or something?
Logged
www.facebook.com/Shinmedia
!
Bartec
Playmaker Newbie
Posts: 14
Re: ArrayMaker
«
Reply #2 on:
September 19, 2017, 04:31:02 PM »
Hey,
raycast playmaker actions.
recently i got a tool that stores sighted objects in a array.
transfer or remove them in my array list proxy not working as i want.
Logged
tcmeric
Beta Group
Hero Member
Posts: 768
Re: ArrayMaker
«
Reply #3 on:
September 19, 2017, 10:41:12 PM »
Honestly I ended up switching to the sensor toolkit, which has playmaker actions:
https://www.assetstore.unity3d.com/en/#!/content/88036
I had my own stuff going, but it was a lot of work to maintain. This one can have different fields of vision (or a raycast). Stores seen objects in arrays. Can filter those objects easily. Can detect % seen of the object. Removes them from arrays, etc.
If you want to build yourself with playmaker. Basically, you need to keep testing what the ray is hitting. Add it to the array. Then compare what is in the array to what the ray is hitting. If they don't match, then its been removed.
Logged
Bartec
Playmaker Newbie
Posts: 14
Re: ArrayMaker
«
Reply #4 on:
September 20, 2017, 01:25:40 AM »
How to filter those Objects with this tool? and put them in my array list?
thanks
«
Last Edit: September 21, 2017, 09:18:26 AM by Bartec
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
ArrayMaker