Commit Graph

394 Commits

Author SHA1 Message Date
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
59361a60af divide warm start impulse by num contacts 2024-10-10 13:13:37 -05:00
9b4cfa345d halve warm start impulse to reduce jitter 2024-10-10 10:29:35 -05:00
bc19bd816d gonna probably rework clipping to better support round shapes 2024-10-10 08:57:55 -05:00
1eac05e8f1 re-enable collisions 2024-10-09 17:17:57 -05:00
f22aec28bb more gjk collision work for rounded shapes 2024-10-09 13:05:01 -05:00
33b32e849c ignore speculative bias during relaxation for stabililty 2024-10-08 19:34:52 -05:00
ac042a3306 rounded collisions working except for clipping 2024-10-08 16:01:30 -05:00
d52effe5c1 wip collider shapes 2024-10-08 12:15:11 -05:00
5ef8ee3f40 rename module gjk -> collider. remove unused gjk functions. 2024-10-08 07:43:45 -05:00
06afe6263f small formatting 2024-10-08 07:35:02 -05:00
71e3d9f05f fix gjk causing unstable collisions between flat diagonals 2024-10-05 01:03:07 -05:00
1dde27d31b fix wild collisions at low precision 2024-10-05 00:09:50 -05:00
aac6acd18f apparent stability for now 2024-10-04 20:15:44 -05:00
cf911f27b7 soft contact testing 2024-10-04 09:18:09 -05:00
3c275dfc9a warm starting testing 2024-10-02 16:13:38 -05:00
2758bdc394 friction testing 2024-10-02 14:17:48 -05:00
62df86a66a return un-negated normal from gjk 2024-10-02 11:27:52 -05:00
acbd97aa84 tweaking 2024-09-26 17:21:51 -05:00
3b21f641ad calculate contact ponits outside of substeps by storing local positions 2024-09-25 19:36:28 -05:00
c00d43b1de resolve collisions using the new clipped contacts 2024-09-25 17:02:46 -05:00
ef7ba9e77d commit config.h 2024-09-25 17:02:20 -05:00
a6412ba4f1 working face clipping along normal in gjk_contact_points 2024-09-24 18:55:41 -05:00
88334f2ab1 test midpoint contact point 2024-09-23 15:00:14 -05:00
4b88b282df fix manifold swap issue 2024-09-19 20:42:31 -05:00
dbdd653ae8 fix epa collision not detecting when diagonals touch 2024-09-19 17:37:24 -05:00
1f0c8964d0 skip redundant manifold based on manifold iteration 2024-09-19 12:50:26 -05:00
5593db5202 replace { 0 } initializers with new ZI macro. enable 'Wmissing-field-initializers' 2024-09-19 12:15:55 -05:00
eed68f04cd accumulate impulses 2024-09-19 12:11:00 -05:00
7b37f78b1e use shortcut-gjk for gjk_contact_points 2024-09-19 10:27:50 -05:00
41d56ac13c more physics testing (separate logic to functions & re-calculate constraint depth each iteration) 2024-09-18 20:07:58 -05:00
d14207959b more physics testing 2024-09-18 14:46:40 -05:00
be2f15d1a8 accumulated impulse testing 2024-09-17 14:58:40 -05:00
b717a38b13 contact testing 2024-09-17 12:44:54 -05:00
3ed16a426b minor cleanup 2024-09-13 15:27:46 -05:00
e8bc83df3a revert to returning contact pairs from gjk 2024-09-13 12:12:57 -05:00
1d7f9be8b4 use midpoint of clipped gjk contact faces 2024-09-13 11:29:41 -05:00
14958a8449 gjk contact pair testing 2024-09-12 18:36:04 -05:00
a946583bc8 more physics testing 2024-09-12 15:36:20 -05:00
ea56dab9bf kinda working physics 2024-09-11 16:22:04 -05:00
2012d0705d start on glitchy collision resolution 2024-09-11 13:59:56 -05:00
e3055062e6 angular velocity testing 2024-09-10 16:11:39 -05:00
a0600fc419 revert to using euler integration 2024-09-10 14:14:56 -05:00
8177754821 revert to non-swept epa 2024-09-10 13:56:26 -05:00
8050c39496 minor cleanup 2024-09-09 12:08:28 -05:00
5c03288c53 formatting 2024-09-09 10:56:54 -05:00
14163d2a09 semi working sweeping collision along velocity 2024-09-06 16:00:44 -05:00