Download

Getting Laser Sight to work

I was following the Lifeforce Tenka Udemy course (where the hell is the instructor?), and I am stuck with one particular problem (one I have run into before without a fix.) The line tracing works without an issue but I have a beam particle set up that does not update when the player moves. Turning is the most obvious issue as the beam end will be pointing down and to the side that the player turned from. If the player jumps then them beam will be pointing up while the player is in the air. One last issue is that the beam disappears after a second or two.

Turning result…

While Landing…

The logic is below…



Line Trace logic