Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Help Needed: Tank Bullet Spalling

Discussion in 'Getting Started' started by Aj8841, Oct 12, 2021.

  1. Aj8841


    Aug 21, 2021
    Hello all,

    Today, an idea sparked into my mind and I wanted to create a tank simulator similar to War Thunder. I have already started out with the Physics Tank Maker asset from the asset store, but there is one thing that I can't seem to get.

    In games like War Thunder, there isn't a HP system or Hit Points. There are modules (like engines and crew members) that you have to destroy to knock out a tank. And the way it happens is when the bullet hits the armor, it will break up into bits and pieces called spall or shrapnel. These hunks of metal are what actually do the damage to the insides of the tank(if the bullet was able to go through the armor). I found this YouTube video showing a simulation of a bullet going through armor:

    The problem is I don't know how to implement this to my game. Should I use unity's physics engine or raycast? And how would I?
    Last edited: Oct 12, 2021