Possibility of making car windows no longer bulletproof?

Bnjemann

Community Awards 2024
Messages
9,487
Reaction score
11,873
Points
935
Location
REHAB
Whats the possibility of making car windows not completely block anything that isn't .50 BMG which just shoots through the car? Just wondering, would be a nice addition.
 
I wouldn't call it impossible but it will be very difficult, and just gonna say Rip hit registration.
 
Could code a hitbox right infront of every window, which could then detect bullets and deal appropriate damage to the corrosponding player?

That's the only way i can think of
 
It would be a bit odd for sure, but DrinkWater is correct about hitboxes. When a bullet enters a hitbox, it then does an expensive calculation to see if it's going to hit the physics model (in this case the car) and if it hits, then damage can be applied. If we have a hitbox under the chest category (let's say it's the car) and a hitbox under the head category (window area/players) it would be possible to do this. It's just a matter of how much work needs to go into it, and is it really worth it. Also, this isn't going to be accurate at all, like you'd see in grand theft auto games. Don't forget this is the source engine, and vehicles in source are shit.
 
Back
Top