Ideas on armor piercing

Hello everyone.

It has only been a week since my last post but, I found a very interesting idea I couldn't wait to talk about.

I would like to start off by mentioning that I have been working on the physics engine currently. I started working on AABB and circular collision implmentation for the three main data structures I am using(AoS, SoA, AoSoA8).

I started to think about a specific term and number used in collisions named restitution. Restitution in physics terminology at least describes how bouncy an object it. I can hear you saying "How does this relate to armor penetration in your game?".

The answer isn't as straight-forward as I would like but I do think it's a great plan. When you plan on having layers with differing materials hardness and weight, you have to implement something akin to an onion. The first layer is the outer armor, second is clothing, etc...

This takes up an incredible amount of the resources I would rather use for other portions of the game. So I won't be implementing that at this time with my currecnt knowledge that I have. Instead, I will be using restituion stats to determine penetration. Each weapon and armor will have an innate restitution state based off of how well it is made(this might change in the future). Then when a weapon and a piece of armor clashes with enough momentum, there will be a restituion comparison.

This comparison will either determine whether the weapon will deflect off the armor or pierce the armor. If the restitution of the armor is higher than the weapon, minimal damage will be done to that unit and the armor will be stay intact. If a weapon's restitution is higher than the armor, then the armor will be pierce or damaged and that unit will take more damage. Any leftover restitution could act like drag after the penetration too.

This is still a work in progress and won't be implemented for some time but, I believe it's a great way to implement armor damage and heavier wounds without giving up too much of the resources to the physics engine.

I will still post a post next week so, consider this a freebie into the mind of me.

Until I figure a way to implement comments, please send me your thoughts through either itch.io or github anyways you can. Just make sure you put the post you are referring to in your own post.

Thanks for reading and I will be back again next week!

← Back to Blog