99 Commits

Author SHA1 Message Date
1e814a5726 Merge commit '6b853a66017bf5536793787442130be9797d7731' as 'libs/raylib' 2025-05-02 23:41:00 +04:00
6b853a6601 Squashed 'libs/raylib/' content from commit 3a1d6261e
git-subtree-dir: libs/raylib
git-subtree-split: 3a1d6261e24d8931de237c746ff0562e0231a2c4
2025-05-02 23:41:00 +04:00
aaa9f3e3ab Start working on graphics 2025-05-02 23:40:12 +04:00
1ea89fb2c9 Improve engine friction, add a rev limiter 2025-05-02 21:11:48 +04:00
08b6748d76 Add tyre friction debug visualization and tweak tyres to be more slidy 2025-05-02 20:32:13 +04:00
02d4a7aac5 Start implementing UI for debug viz 2025-04-28 12:22:23 +04:00
bdd7bbb9b1 Refactor asset loading to remove duplication, add loading of tyre params from csv 2025-04-27 22:53:07 +04:00
a27a5ccde6 Reimplement tyre model to use separate longitudinal/lateral formulas, also use pacejka94 2025-04-27 21:24:25 +04:00
b0fb81d88c Increase lowest rpm to fix no torque when starting to go uphill 2025-04-27 17:29:01 +04:00
ef8245d712 Add a ramp 2025-04-27 17:13:21 +04:00
3bab8ac88e Proper raycasts against other rigid bodies instead of a fake plane 2025-04-27 17:06:04 +04:00
fe71efcafd Fix suspension, adjust car collision 2025-04-27 13:37:58 +04:00
5c797145ae Fixed power delivery from engine, now 0-100 time seems to be in the right ballpark 2025-04-27 12:40:46 +04:00
cbe0dd20e5 Gears and engine->wheel power transfer. Not working well yet, it's losing a lot of power somewhere. Maybe it needs to be a position constraint 2025-04-27 00:02:23 +04:00
c3945a80e5 Use proper real world scale for the car 2025-04-26 21:28:06 +04:00
78ab4eeae9 Start implementing engine simulation 2025-04-26 20:29:58 +04:00
a9f007a90e Use physfs for all file loading 2025-04-25 13:10:54 +04:00
1095afb510 Use physfs in raylib 2025-04-25 12:58:19 +04:00
973ad9e285 Add scripts to help building physifs 2025-04-25 11:49:00 +04:00
64467602dd Merge commit '59053d5cad5785dfefc106fc69d14e5ae34a91e5' as 'libs/physfs/physfs' 2025-04-25 11:42:13 +04:00
59053d5cad Squashed 'libs/physfs/physfs/' content from commit adfdec6a
git-subtree-dir: libs/physfs/physfs
git-subtree-split: adfdec6af14e4d12551446e7ad060415ca563950
2025-04-25 11:42:13 +04:00
dc8606b6b5 remove ignore in physfs bindings 2025-04-25 11:42:09 +04:00
1211c74c9e Merge commit 'f87fae7a25007a65c4907b534921747d19359532' as 'libs/physfs' 2025-04-25 11:40:28 +04:00
f87fae7a25 Squashed 'libs/physfs/' content from commit 3c22b323
git-subtree-dir: libs/physfs
git-subtree-split: 3c22b32319315fa4d25308767e719331dd539ced
2025-04-25 11:40:28 +04:00
e1fa9734da Add csv parsing 2025-04-25 11:37:45 +04:00
91cd60b155 Add hood cam, tweak tyre params, split split angle and split ratio params 2025-03-23 22:53:50 +04:00
f143c9b591 Add basic gamepad support 2025-03-23 21:53:05 +04:00
77242a9989 Tweak tyres and breaking force some more 2025-03-20 00:55:40 +04:00
22c2224dea Tweak tyres, fix asymmetry in pacejka formula 2025-03-20 00:46:50 +04:00
b6866f53f3 Tweak pacejka params a bit 2025-03-18 03:28:40 +04:00
31cb9879cc Pacejka 96 for tyre friction, combined friction using the Beckman method 2025-03-18 03:12:43 +04:00
8caf47003e Proper brake force using friction 2025-03-16 15:49:10 +04:00
bf7b7e6ae3 Implement wheel rotation and friction 2025-03-16 14:53:13 +04:00
2410ed9b4b Add static and dynamic friction 2025-03-16 00:22:20 +04:00
fb1643e6e6 Fix mem leak, change number of stacks 2025-03-16 00:17:00 +04:00
60522ea836 Reimplement suspension, now with correct friction using PGS 2025-03-16 00:00:48 +04:00
50d0401479 Implement friction in PGS 2025-03-15 20:53:45 +04:00
d1feaa0602 More progress on PGS 2025-03-09 22:54:40 +04:00
a2ad9e490a Refactor collision detection to support persistent contacts across frames 2025-03-09 15:04:13 +04:00
cb24365933 Start implementing a different solver 2025-03-08 23:46:14 +04:00
ccd987aeae Start implementing optimized substepping (collision detection only once per frame) 2025-03-08 14:50:39 +04:00
c3ac6c2db1 Change iteration counts, fix extra snapshots when no steps were taken 2025-03-02 21:30:37 +04:00
860f9f59b6 Optimize edge separation test, use SOA structs in more places 2025-03-02 21:14:12 +04:00
a1e8d0f231 Disable edge separation tests for now and make a stress test 2025-03-01 20:54:26 +04:00
0f60cdda13 Use BVH to find potential collision pairs before simulation steps 2025-03-01 20:12:54 +04:00
503d6170c2 Fix restitution and start implementing BVH acceleration for collision 2025-03-01 19:04:01 +04:00
c91018fec8 Remove unnecessary rl dependency in physics engine 2025-03-01 13:30:25 +04:00
c2b831a4d6 Implement simulation rewind 2025-02-09 19:54:44 +04:00
aa1dab6079 Update shape from immediate_body 2025-02-09 19:33:19 +04:00
d816e96c3e Refactor convex shape handling
This will allow me to implement rewind easily
2025-02-09 19:15:56 +04:00