Tuesday 27 November 2018

Blood Splatter Effect


Today, I decided to replace the explosive particle effect I had on the bullet impact for a more effective blood effect. I found a good tutorial on YouTube by Dean Ashford. It would need to be modified to fit my project, but gave me general direction I needed to create the effect, plus some assets. I thought this would be quite an easy effect to achieve, but 3 and a half hours later, I can say it wasn't. 

The actually blood emitting from the zombies was the first problem. I only wanted the blood effect from the zombies, and not everything the projectiles hit. I got this working fairly quickly, the only problem was the game was generating a lot of errors now. I wasn't happy, and needed to rethink my approach. The way around this turned out to be to relocate the Spawn Emitter to the AI Character Blue Print. It seems obvious now, but it was originally in the First Person Character BP and linked to the Ray Tracing.

The second problem, and the one that caused the most headaches was the blood decals that should generate on particle collision, they simply refuse to work. The logic of the blue print is sound, and I've change and modified so many settings, but to no avail. In the end I saw a brief comment on a YouTube page that mentioned freezing the particles on impact, and this worked! It doesn't look quite as good as I wanted, maybe I can modify some settings further, I'm just glad it's working right now. 

No comments:

Post a Comment