My first post here.
I’m working on a gun that shots “electric bullets” or beams similar to star wars blasters. I have a problem that I can address in many ways but I decided to come here to ask whats the best option. I’m working in Unreal Engine.
I want my bullet to release an energy wave around the area of the hit when it hits the players. But because players can be different shapes and energy blasts waves are pretty big, the effect of the blast has to adjust to the geometry (bumps and holes). Or if they get shot in the arm I want the wave to go around the arm.
Three ways how I would approach this:
In Unity you can set the projection using mesh so you can use a half sphere with texture for this.
Can you change decal to be a mesh shaped instead of the default box?
However this would not work well if they get shot in the arm.
Spawn particle system on Location-> vertex/skeleton in cascade and make them spawn just on the closest 10 vertex with blueprints?
Using Distance Gradient Mask. Like DeepSpaceBanana shared on this blog (DeepSpaceBanana Art - Art). I might be able to achieve this effect in a similar way with distance masks.
What do you guys think?