Commit Graph

840 Commits

Author SHA1 Message Date
33ad436040 draw bullet circle in tracer 2025-01-13 07:53:06 -06:00
e961b6dceb test out adding shooter velocity to bullet 2025-01-12 18:30:06 -06:00
37f10d76dd working tracers 2025-01-12 18:23:01 -06:00
bcdd9660c2 comment 2025-01-12 16:06:24 -06:00
5026a967ff config option to disable detailed collision debug 2025-01-12 15:36:44 -06:00
a00798fc7a tracer beginnings 2025-01-12 11:54:48 -06:00
e70047f763 disable collision between bullet shooter & bullet 2025-01-12 09:40:33 -06:00
b66f130e9c respond to collisions using callbacks rather than events 2025-01-12 09:11:30 -06:00
0ef72e1b23 disable all warnings for profiling build 2025-01-11 15:49:57 -06:00
bbd11d2526 sort hit events by dt to prevent out of order bullet hit processing 2025-01-11 15:09:14 -06:00
5d6835ece3 bullet_has_hit 2025-01-11 10:22:27 -06:00
0c1d6a58de move phys arguments into phys_ctx 2025-01-10 16:05:22 -06:00
0716ebd398 separate physics logic from game.c 2025-01-10 15:44:07 -06:00
f4d8ec73e7 skip toi between non-bullets 2025-01-10 14:32:03 -06:00
1849f1143a de-duplicate collider.c gjk & epa logic 2025-01-10 11:37:27 -06:00
02290601c3 cleanup collision debug leak & merge structure with contact lookup into entity lookup 2025-01-06 17:09:39 -06:00
6268e012f6 add false position method to toi root finding 2025-01-06 16:33:14 -06:00
967a408972 fix dangling constraint entities 2025-01-06 15:05:15 -06:00
dd4b05cbd1 time of impact seemingly working 2025-01-06 12:20:06 -06:00
1e81a7ea41 create collider_closest_points function 2025-01-06 11:41:59 -06:00
2260b1bc36 fix collision issue between capsule rounded edge & corners, and with reverse-winding shapes 2025-01-03 18:42:46 -06:00
33df739cc6 create separate entities for visualizing collision debug info 2025-01-03 17:24:34 -06:00
9981b600a8 draw debug movement for kinematic objects 2025-01-03 16:04:32 -06:00
1bbe316b20 kinematic flag 2024-12-16 12:53:52 -06:00
bac3256d1e hit event testing 2024-12-16 12:23:58 -06:00
152656fbc5 create ground friction joint dynamically 2024-11-18 13:12:10 -06:00
bfa1f1e065 contact lookup, joint / contact removal 2024-10-30 18:34:45 -05:00
f5e45d6ba1 game tick continuity gen. start removing static constraint lookup 2024-10-30 14:47:17 -05:00
c071e17305 fix clip winding swap 2024-10-30 13:58:11 -05:00
c8b48b9537 object dragging via mouse joint 2024-10-30 10:16:09 -05:00
8eadda9931 store & calculate friction 2024-10-29 18:35:35 -05:00
c966924760 fix incorrect contact point calculation 2024-10-29 13:59:12 -05:00
d0089329e2 start mouse joints. separate contact creation & preparation 2024-10-29 13:26:32 -05:00
483a95dfca testing linear movement using motor joint 2024-10-29 11:13:31 -05:00
c6b2a8c283 fix turn speed framerate dependent 2024-10-28 16:06:46 -05:00
161e615aa7 specify control torque in turns / second 2024-10-28 15:58:00 -05:00
5dde85a04a motor joint warm starting 2024-10-28 15:12:23 -05:00
4e920e071d motor joint 2024-10-28 14:33:26 -05:00
68d80de75a move manifold data into 'contact_constraint' struct 2024-10-23 16:35:09 -05:00
59b48694e8 fix aim angle diff check 2024-10-23 15:19:18 -05:00
7708b8e5b8 rework transformation math functions, add separate 'world' transform functions 2024-10-22 15:16:34 -05:00
ed8b03941e use v2_winding when clipping 2024-10-22 11:15:52 -05:00
55fc39fddd minor tweaking 2024-10-15 17:47:57 -05:00
8f1422a882 more popping work 2024-10-15 14:00:03 -05:00
73b7fef768 more fixed up capsule collision. remove transform matrix skewing 2024-10-12 00:37:15 -05:00
6951fa62e3 popping probably fixed 2024-10-11 14:32:01 -05:00
687e9b8c99 fix atan2f causing skew drift 2024-10-11 11:22:33 -05:00
31082916ad unevenly-scaled shape collisions working 2024-10-10 16:43:31 -05:00
daf1a862f5 more physics config defines 2024-10-10 13:52:57 -05:00
c193e31cce only draw collider line for circles 2024-10-10 13:24:08 -05:00