Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Kfinn on February 15, 2018, 07:12:58 PM
-
Hi everyone,
I have a 3D scene with a bunch of overlapping structures. I've set up a dbl tap that will raycast and determine which outermost structure was hit. However, I'd like to have the raycast return a list or array of ALL structures hit along the ray (within a user-defined depth) so I can see if certain structures are buried in the mix at that particular point.
I've gone through all the RayCast actions I can find and don't see anything quite like this. Any ideas?
Thanks in advance as always!
-
Hey, "Raycast All" will give you a list of all the objects hit, use "store hit objects" in that action. You define the depth through a "distance" float too.
-
Thanks for the input. Will give it a shot.
Much appreciated!