12 Commits

Author SHA1 Message Date
bf995882e6 Double buffer physics state to allow easy debugging and interpolation
Fix a bug in restitution
2025-02-09 02:21:34 +04:00
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
660a535a7c Experiment with different com calculations 2025-02-01 01:07:18 +04:00
ba686422a8 Bring back assertions fix non convexity in exported mesh 2025-02-01 00:21:29 +04:00
76f3b9ef75 Calculate center of mass for convex meshes 2025-02-01 00:13:55 +04:00
8cefc48049 Load convex from obj 2025-01-31 02:35:02 +04:00
ccefa6b952 Start implementing rigid body collision 2025-01-12 02:57:33 +04:00
21545b1c9d Add profiling to the game 2025-01-10 01:46:13 +04:00
7a77d1c409 Working BVH 2025-01-07 00:14:52 +04:00
493f311ad0 Almost working bvh 2025-01-06 03:40:40 +04:00
72bd683900 Prototype editor 2025-01-03 00:42:38 +04:00