Possibility of making car windows no longer bulletproof?

Messages
8,975
Reaction score
11,335
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.
 
Messages
2,614
Reaction score
4,226
Points
845
I wouldn't call it impossible but it will be very difficult, and just gonna say Rip hit registration.
 
Messages
952
Reaction score
2,510
Points
645
Location
Kazakhstan
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
 
Messages
287
Reaction score
1,496
Points
495
Location
Germany
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.
 
Top