Commit Graph

1144 Commits

Author SHA1 Message Date
11759dc6cd better direction gjk testing (still bugged since edge is furthest in velocity rather than closest projected, even though point is now correctly projected from end of velocity ray) 2024-09-05 09:16:01 -05:00
f608000b85 re-add/enable gjk debug visualization 2024-09-04 10:26:04 -05:00
8c36552659 collision resolution testing (janky bc angular velocity not taken into account) 2024-09-03 17:00:40 -05:00
9cb34ea1cd gjk.c & gjk.h 2024-09-03 15:59:06 -05:00
c3b96d1597 join logic for gjk expansion into one function 2024-09-03 14:30:42 -05:00
beccc17b7f working gjk penetration direction test 2024-09-03 12:04:22 -05:00
d735ff8fc8 fix closest points janky when shape edges aligned 2024-08-30 19:57:34 -05:00
657d8206fc fix alt key handling in win32 message loop 2024-08-30 19:50:18 -05:00
987842e130 working depth points for colliding gjk 2024-08-30 18:22:48 -05:00
ed1a788821 gjk closest point working for non-colliding entities 2024-08-30 17:15:26 -05:00
2fe3502cfc fix gjk hang 2024-08-30 14:40:40 -05:00
8fd92c55a1 gjk expanded testing non-colliding closest face 2024-08-30 13:39:28 -05:00
99381f1274 gjk tweaks 2024-08-30 09:00:18 -05:00
8de566cad5 gjk step tweaking in debug mode 2024-08-29 18:46:08 -05:00
7e125e864e tweaking 2024-08-29 15:45:01 -05:00
2150d0e3c4 working epa test 2024-08-29 11:31:57 -05:00
818ffa7eba start on scuffed epa 2024-08-28 20:21:55 -05:00
36f3a3dbb6 replace trig functions with cephes approximations 2024-08-28 14:33:33 -05:00
2453ceb239 fixed skew & child entity interpolation (still drifting skew bug due to accumulated sin & atan2 imprecision) 2024-08-27 18:35:43 -05:00
1e8b6973c1 replace atan2 approximation with one that seems more stable 2024-08-26 19:21:14 -05:00
bdcc6a8c81 set local xform when applying child attachment 2024-08-26 16:13:34 -05:00
4ce85c1bef skew testing 2024-08-26 14:48:40 -05:00
8bcc0bd356 working gjk test 2024-08-24 13:45:12 -05:00
86f1f1f6e0 start on scuffed gjk collision detection 2024-08-23 20:30:22 -05:00
17f7e3daaa small tweak 2024-08-23 13:25:23 -05:00
bd237e211b divide forces by mass only once during physics sim 2024-08-22 13:05:43 -05:00
687ebb4eb9 accumulate forces and impulses in one pass 2024-08-22 11:33:09 -05:00
0d33c5746f fix sprite log formatting 2024-08-21 17:50:23 -05:00
c4dd372041 store and calculate mass from unscaled mass instead of density 2024-08-21 17:17:05 -05:00
c461956fb0 remove a debugbreak 2024-08-21 14:31:44 -05:00
9a2ec4ebe4 take mass to account when applying impulse 2024-08-19 19:45:12 -05:00
10c9c833ba better impulse & force application 2024-08-19 19:20:55 -05:00
0ed2a403dc impulses & forces 2024-08-19 15:02:41 -05:00
4b10be1b17 specify arena when queueing game cmds from user thread 2024-08-19 13:32:30 -05:00
83b0b3f255 start verlet integration 2024-08-18 22:44:55 -05:00
ebc1fdf258 natvis display empty null strings as empty 2024-08-16 15:55:46 -05:00
00560af92c unlink existing parent when linking 2024-08-16 15:55:16 -05:00
3f98cdb669 remove entity_unlink_children, tweak entity_link_parent 2024-08-15 16:48:25 -05:00
0e658749b1 track key repeats in user binds 2024-08-15 16:18:14 -05:00
bd4e560f67 allow error in aim angle 2024-08-15 14:41:01 -05:00
f48a059397 weapon attachment to parent 2024-08-15 13:59:42 -05:00
9424c9c2c9 correct bullet starting point 2024-08-14 18:40:07 -05:00
38075e5efd entity_prop_kinematic 2024-08-14 18:22:06 -05:00
2a357c127f more bullet testing 2024-08-14 14:21:51 -05:00
ca6c058675 bullet trail testing 2024-08-13 19:29:03 -05:00
45c6d94009 more bullet testing 2024-08-13 16:34:31 -05:00
bcbf9c9588 bullet testing 2024-08-13 14:30:42 -05:00
cad25d24b2 entity release prop 2024-08-13 14:04:01 -05:00
52db86b012 entity active field 2024-08-13 12:58:13 -05:00
57e0d0a84a begin firing/bullet work 2024-08-12 19:41:39 -05:00