Can't recall function several times

In my head i see, that it calls Cast Trace → Reflection → Cast Trace and because next hitted Actor has Tag “mirror” it going to Reflection → Cast Trace and so on

Maybe I missing something

Hello!

I make a reflection of LineTrace. My problem is when the ray hits the first block, it bounces off it, after the function calls LineTrace function again, but the second and subsequent times it doesn’t work.

After the first reflection it seems to lose the next hit

What could be the problem?

I did it. It works. Thank you - write your solution in Answer so I can mark it like an answer

Hi, maybe I missed something, but from the logic you have shown (I assume it starts in the first image), it will call “Cast Trace”, first trace, then it will call “Reflections”, which will again call “Cast Trace”, second trace, then you don’t do anything anymore, so two traces in total. You would need to let Reflection call itself as long as it hits a mirror.

If I did miss something in your logic and what I wrote above is not the reason for two traces only, then I would do prints and see where it does something you don’t expect / see where it fails.