127 Commits

Author SHA1 Message Date
0226e83010 A bunch of tweaks
- Add max steering lock and limit drift assist to never exceed it
- Bring back tyre curve debug
- Show relevant wheel debug values
- Calculate camber for pacejka
2025-08-04 00:35:46 +04:00
6e600e9e6d Fix jerky mouse delta on web 2025-08-02 21:21:12 +04:00
a958c1f50a Fix wrong sign when converting from dir to yaw pitch 2025-08-02 20:58:01 +04:00
5181b9b813 Change how interpolation works, add mouse movement override to follow camera 2025-08-02 20:41:22 +04:00
7f928a6f2c Interpolate wheels too, use interpolated bodies and wheels in debug visualization 2025-08-02 14:52:30 +04:00
a6cbfaf88c More tyre tweaks, chase camera like in GTA 5, basic rigid body interpolation so rendering can run faster than physics and still see everything smoothly 2025-08-02 14:01:32 +04:00
82e9022c73 Suspension spring force along hit normal again, tweak tyres, add drift assist (just steering for you a bit, no ghost forces) 2025-07-30 01:58:31 +04:00
88fac29a6c Fix suspension when driving on other rigid bodies, super solid now
The key was to limit the total spring impulse similar to how contact impulse is limited, so that spring always pushes and never pulls
2025-07-29 01:58:33 +04:00
44a401344f Optimize edge collision checking by sorting so they always follow in pairs
Fix suspension constraint force being weird
2025-07-27 15:33:00 +04:00
56f1eb1d15 Fix bug in names where same string could get interned twice, some easy optimizations 2025-07-25 01:14:41 +04:00
5d9d321695 Working wasm build! 2025-07-25 00:38:24 +04:00
e878aa4db6 Try to get web working again 2025-07-19 18:17:02 +04:00
37736753e5 Fix level reload not working when paused 2025-07-13 23:28:07 +04:00
8b8e4f9513 Level hot reload working 2025-07-13 23:09:32 +04:00
bb6498a193 Debug visualize tris of static tlas 2025-07-13 01:09:04 +04:00
7da986970e Basic lelel import working, collisions for level geo broken 2025-07-13 00:45:35 +04:00
a81e81c52c Implement blender scene export script, add support for asset based level geom instancing 2025-07-12 23:16:57 +04:00
5f4fa12040 A bunch of prototype code for asset pipeline 2025-07-11 23:18:35 +04:00
a8e3bb6104 Fix incorrect triangle normal when colliding against level geom, reverse gear, engine sound 2025-07-01 11:57:53 +04:00
00190a45fc Lots of optimizations and bug fixes for static geometry, improved debugging 2025-07-01 00:09:10 +04:00
bce37a3b7e Updates 3 2025-06-28 23:24:03 +04:00
d53c1a3ae6 Updates 2025-06-28 18:40:09 +04:00
2ccda376bb Updates 2025-06-28 18:28:27 +04:00
973cdb9506 Better collision match 2025-06-28 18:01:12 +04:00
1094afac02 Pivot to game jam game about an ice cream truck lol 2025-06-28 17:56:21 +04:00
8378b943cb Compound shapes support, better debug ui 2025-06-16 01:19:31 +04:00
328dac0617 More fixes, add DEV define to enable some dev features only for hot reload build 2025-05-27 16:32:01 +04:00
729fc277cb All builds working on linux, find base dir relative to bin dir 2025-05-27 16:08:23 +04:00
33cffe95a2 Finally working hot reload again 2025-05-27 11:52:12 +04:00
8b8ab8c6bc More progress on builder 2025-05-27 01:23:46 +04:00
1e91121244 Kinda working build on windows, needs more work 2025-05-24 13:44:23 +04:00
c31ebea3bd Web Build!!! 2025-05-23 17:42:10 +04:00
6e2ad6a3b0 Raycast against level geom 2025-05-12 11:27:16 +04:00
735c61fd05 First implementation of track collision (non convex triangle level geometry) 2025-05-12 01:17:49 +04:00
890ac2494a Editor improvements and some refactoring 2025-05-10 19:01:48 +04:00
f8b73786aa Add undo redo for editor, refactor cameras a bit 2025-05-08 15:51:57 +04:00
df0fe56368 Refactor rewind to include the whole world, not just physics sceen 2025-05-08 14:32:31 +04:00
a4ed430efe Fix a bunch of collision bugs 2025-05-03 23:24:45 +04:00
1c3810483a Improve headlights, fix z fighting 2025-05-03 18:24:51 +04:00
786d18cd75 add mesh for rendering car lights 2025-05-03 01:33:19 +04:00
19ca2f28b8 Finally implemented lights like in zelda windwaker 2025-05-03 00:51:05 +04:00
8fe95ce5a0 Fork raylib to expose GetGLProcAddress 2025-05-03 00:18:30 +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