Ive been trying to make an enemy who shoots out a laser that chases the player with an interp blueprint and it works and all but the laser ends at the player meaning that you can back peddle away from it to be safe. I know why this happens and its because my linetrace uses “get player pawn” to find its position but I cant find a way to make the laser one constant length while moving the endpoint towards the player. Please help!
Thanks but that is what im already using, Im trying to make an enemy who shoots a laser after the player which is not pin point accurate (using vector interp), but that leaves me with the option to just backpeddle away from the laser so it cant reach you. Thats why i was curious if there was a way to keep a constant length of a linetrace while following the player so wether you backpeddle or not you will hi tthe laser unless you walk sideways, do you get what im going for haha? :))
The problem is no matter the given lenght, Line trace will always stop on player because thats how it works, it stops when it hits first object. You need to use MultiLineTrace, so it keeps tracing after first hit and returns an array of all hits on its way.