gun shots on land/sand

Hi

I’m trying to make a decently looking land hit. I have an airplane shooting at the landscape, so I want to display some kind of ‘hit’ on the terrain. A bit like dust going up or something, so you know where your shot hit.

I’ve played with the particles and a couple of textures, but graphics, is not my thing. It looks pretty bad.

Anyone knows where I can get a prefab/asset or similar that would match for an airplane gun (WWI) hit on landscape?

Or if you find it easy to do, I’ll be more than happy to get the right texture/particle properties to imitate :slight_smile:

You could probably use the default sparks particle system prefab from standard assets as a base, change the particle texture to one of the default smokes, but tweak the color to be brownish. Then just tweak the energies and billboard stretching so it doesn’t stretch out the particles, and it might look pretty good. I think I did something similar, I’d take a screenshot of the particle settings but I’m at work :frowning:

yep, i tried it but it looked pretty bad, it was just like smoke coming out… no like a gun shot hit on terrain :confused:

You can probably use the standard prefab particles for this.
Take the smoke puff texture or fire and make a particle system that lasts only 1 second.
The particle must have an initial vertical speed high (Y world) high and slow down very quick.
More can be added as a detail to such tipe of impact effect but basically you should be ok as a start.

Also, if you want to have different effects for bullet hits on different surfaces, you could use a script like this

var sandhit : ParticleEmmiter
var landhit : ParticleEmmiter
<etc.>…
var land : GameObject
var sand GameObject
<etc.>
if (whatever bullet system youre using eg raycast, high speed projectile, etc collides with land){
Instantiate(land hit);}

if it collides with sand, Instantiate sand hit
etc