7 Commits

Author SHA1 Message Date
25ff57168b Collisions for the convex shape 2025-02-02 02:41:24 +04:00
999a7a4631 Calculate inertia tensor for the convex hull, convert simulation to use full inertia tensor matrix
I couldn't figure out how to diagonalize the inertia tensor matrix so I will go the simle route and just use the full 3x3 matrix
2025-02-02 01:17:35 +04:00
196bafb401 Static and dynamic friction working, it's starting to look pretty convincing
Still got a bug when colliding with edges at some specific rotations. Probably fucked relative position conversion somewhere and using a local pos instead
2025-01-26 22:43:23 +04:00
e22e667e27 Fixed unstable suspension (feel like an idiot) 2025-01-07 04:23:27 +04:00
0687ff4858 Wheel friction working 2025-01-05 03:16:44 +04:00
5c0dd2f9f5 My own rigid body phyiscs that works, wat 2025-01-04 21:49:34 +04:00
bb77e8e821 Start of the physics engine with immediate mode api (waaat) 2025-01-04 20:05:24 +04:00