Download

Visibility Trace Question

If I do a complex single line visibility trace, can it return a hit if the trace hits a translucent object on a particular part that is above a certain opacity threshold, and can I set that threshold? So like if I have a checkered opacity mask on a translucent object, if it hits a square that has an opacity of 1, is there a way to get the trace to detect that? And if the trace passes through a “clear” square, can it not return a hit value on that location?

Cheers!

You can probably make a multiple line trace and for each item hit, check if the actor/component is x, then check it’s opacity. When you find one just break the foreach loop and continue with what you want (e.g get impact point)