How to set the car to produce a spark effect (when hitting a wall)

How to set the car to produce a spark effect (when hitting a wall) i set (hit) give for car spark effect, but it no working
i dont know why

I got an answer for this! I did it in my own project where when you scrape the car along something, it makes sparks, and more depending on the speed of the car. I set up two collisions and made sure that they didn’t overlap the car. I put my niagara emitters on both side, and when one of the collisions was overlapped(On Component Begin Overlap), it activated the corrisponding emitter. On Component End Overlap, the emitter is deactivated. Just remember to set it to deactivated on Event BeginPlay, or its gonna just go without any collision. I can tell you more about how I set up the niagara sparks if you like, but this is just how to activate/deactivate them.

1 Like

Glad to hear the problem might be solved! For the spark effect, double-check if the particle system is properly linked to the ā€œhitā€ event and attached to the correct collider. Also make sure the effect isn’t disabled in the prefab or script. Sometimes it’s just a small trigger setup issue.