Beam Particle Hit Event

Hi

I am using the beam data type particle from source to target.

Is there a way to generate a hit event in a blueprint for a mesh or skeletal mesh which moves trough the beam?

Let’s say for example, I have a AI bot which moves trough the beam. Then I want to get event hit to be fired when he is in the beam. I tried several things for collision settings which didn’t work.

So far I only could generate a hit event by doing a constanst line trace every tick from source to target. Is this the only way to do it?

You can generate a hitbox that will wrap beam and use it for collision detection.

Thanks for the answer. How do I do that exactly? Arent Hitboxes just for the hud or characters?

It’s just a term. Place a Shape\Box (You need to root it to scene to be able to transform). Align it with vector from beam (start->end) and set it’s height to distance (start->end). You may additionally need to move it since pivot point placed in the middle.

Oh. Physics also triggered each tick, so I can’t see any difference between this one and raycasting.

Well thanks for the hint!