Commit Graph

6 Commits

Author SHA1 Message Date
Josh Dowell c9604f710f listener: Fix a typo causing collision damage to be applied in full
There was a typo in vjolt_listener_contact.h where it would get the velocity of the first object twice, which was wrong, and this was causing damage to be applied in full
2022-08-29 23:34:20 +01:00
Joshua Ashton 6d81c04454 pch: Use correctly cased KeyValues.h per-branch 2022-08-29 08:24:44 +01:00
Arthurdead 457b9923f5
build: Fix compiling with C++17 on Linux 2022-08-29 08:23:11 +01:00
Joshua Ashton 65bc5bd2fd vehicle: Implement per-wheel brake torque
Based upon the same calculations that regular VPhysics does, calculate the per-wheel brake torque.

Improves vehicle feel and matches it more closely.
2022-08-29 08:02:10 +01:00
Joshua Ashton a7209f3766 compat: Add GAME_L4D2_OR_NEWER define 2022-08-29 07:57:31 +01:00
Joshua Ashton 11adbb57bd Initial commit 2022-08-29 00:21:50 +01:00