Armor thickness per impact point
I am looking for an advice on how to implement tank armor thickness per impact point.
Basically I'd like to have low-poly body responsible for projectile interaction. Each face of a body has armor thickness assigned to it. When a projectile hits a face, I'll calculate penetration based on impact angle and armor thickness.
I came up with two approaches, but I couldn't complete any of them.
(I'm doing extra line trace from slightly above collision point to slightly below it, because original hit result doesn't return face index or UVs)
I think I got first one working, but any suggestions are still welcome :)
Model has several materials which represent armor thickness.
I am getting material by face index, then using section index to lookup thickness in array
Mesh has complex collision as simple enabled.
Follow this question
Once you sign in you will be able to subscribe for any updates here