21-12-2021, 08:13 AM
(20-12-2021, 05:09 PM)Sanppy Wrote: I'm not sure if this is the optimal method. If Anyone has a better suggestion, I'd love to know about it.
Thanks.
That's 100% correct and the only way to do it: the raycast returns a simplex index, from that you get the particle index, and last you get the actor reference using the particleToActor array.
cheers!