Linetrace reflections

Hello, I want to have a line trace that bounces when it touches something. So i have a function that makes a new linetrace from the reflected vector and location from the last linetrace but it only works on the first bounce and not the second.



You need to add a small offset to the new start vector. The trace can hit the same actor again.

Try this:

MaxHits

1 Like

Could you explain to me whats going on because i dont really get it?

Sure. Updated above with comments.

Let me know if you need me to elaborate on anything specifically.

1 Like

Got it. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.