Posted January 09, 2023 by gaemdevolper
I am currently working on getting guns into the game. The first task I decided to tackle is the projectile system. I always felt amazed at how ‘counter-strike 1.6’ (a 20+ year old game) had bullet penetration logic and most modern games don’t. Of course, it was rather unrealistic in various ways, like, I remember being able to wall-bang massive concrete walls etc.
Anyways, I got a decent system so far. It was designed in way to make it ‘look cool’ rather than being super realistic. It features stuff like gravity, drag, penetration, ricochets, per-material and per-caliber properties etc.