how can i make a explosion as my bullet touch the ground
2 Answers
2Use the Detonator package
Very generic, Ill do my best.
- Create a particle system that you would like to be the explosion.
- Check to see when bullet hits(with collider or raycast).
- Instantiate the particle system at the bullet’s position.
- Destroy the bullet.
Thats the the idea, as for actual code…the question is way to generic.