Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Bartec 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.
-
How are you "seeing" them? a Raycast or something?
-
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.
-
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.
-
How to filter those Objects with this tool? and put them in my array list?
thanks