Spawn Laser Beam Emitter Attached is not attached

I’m trying to attach a laser on a gun’s muzzle. It spawns at the location, but isn’t attached, floating in the air.



Hi there,
Are you using niagara or legacy particle system? I am sure for the legacy, you need to add start and end location to your beam emitter as vector parameter, then inside the blueprint, call both parameters from the spawned emitter using set vector parameter value. Niagara should be the same.


Legacy particle system. I got that but nothing works

Hi there,
You are moving forward. Can you please show the emitter setup?

Hey
What do you mean by emitter setup?
The entire code? That’s really big, but there we go.
I have no idea what’s the problem.





Hi there,
Here is the official chapter from Epic Games that covers only the emitter setup.
Let me find a good one for the blueprint part.

Full Playlist

I believe you’ll be able to simplify it.

Are you using Event Tick to track the beam start location?
Try this video:
UE4: TUTORIAL #31 | Laser sight (Third person shooter) - YouTube

Thank you so much! Now it works and I will polish that!

2 Likes

Great news.
Keep up the good work, my friend.

2 Likes