Check out a cool system by a developer from Reddit and learn how to recreate it in Unreal.
A Reddit user wedl3 shared a look at an advanced ballistics and bullet penetration system being created for a multiplayer game. The level of damage depends on the type of material used for a wall so a bullet can penetrate a couple of brick walls or a dozen wooden planks.
"All of my shooting, penetration and damage reduction code is done locally, and I just give the server hit location, what actor it hit and other important info of my bullet and just spawn visual FX at the location and apply damage to AI which is reduced from normal depending on what physical materials I hit and how many walls it went trough," noted the author.
The developer was also kind enough to share a tutorial for Unreal that might help you create a similar system, inside the engine for a singleplayer or a multiplayer experience. You can find it below: