Hi, I’m trying to make a permanent laser beam from the player character. It is a Top Down game where a camera is centered on the character while it’s moving. I’ve setup a beam particle with a source and target module, both have their source/target method set as User Set respectively.
I get the character rotation from the PlayerController, I’d like to use that to draw towards my Beam Target Point. The length of the beam could be a variable, as long as the beam is directed along the character’s rotation.
I have the character’s Yaw direction, but I lack the knowledge how to make that into a vector that Set Beam Target point needs.
At one point I tried using the mouse location for the Target Point but I was unable to make the laser go past the mouse location and only work on X and Y (if I aimed somewhere it aimed up in the air towards the camera).
If you need some visual guidance, it’ll work similar like Magicka’s beams.
Character rotation:
Beam: