Hello great people from the Unreal forums,
What i’m trying to do: A beam/laser that follows, starting from a turret and ending at its target.
A good example of what I’m trying to achieve can be seen looking at a Starcraft 2 unit… The VoidRay !
(You can find some videos of how it behaves easily. Or you can clic here.)
I followed these tutorials: Making A Laser In The Unreal Engine Part 2 - YouTube
(It has multiple parts)
I’m not a big fan of using an “Event tick” but at the moment, I’m ok with that because… I just want it to work.
Here’s what I’ve got so far.
We set a system where when an enemy overlaps a collision box, it triggers an event that makes it take damage while it is in this box. When the enemy leaves the box, it stops taking damage. Classic.
What I’m trying to do is just having a beam starting from the damaging actor to follow the damaged actor while its in the box… Pretty simple, I guess but I’m not able to do it properly.
At the moment we are using a little trick as you can see in the last screenshot. We have static mesh, a cube, stretched from the starting point to the end point. It is a placeholder and we’re proabably going to use a particle system afterwards. But I don’t think it’ll make a big difference.
I hope i’m understandable here. If not, do not hesitate to tell me.