Commit Graph

1249 Commits

Author SHA1 Message Date
Jan Hohenheim
b461d028df Remove overzealous ground-snapping 2023-02-04 19:41:01 +01:00
Jan Hohenheim
6c5713aa0c Remove anti-jitter check 2023-02-04 19:15:32 +01:00
Jan Nils Ferner
da671fd99a Fix formatting 2023-02-04 18:12:15 +01:00
Sébastien Crozet
2e929bbcab Merge pull request #440 from fabriceci/expose-time-until-sleep
Allow customising the time until sleep for a rigid body
2023-02-04 16:19:37 +01:00
Jan Nils Ferner
220d2b09ab Fiddle with prediction 2023-01-28 01:09:19 +01:00
Jan Nils Ferner
3b537a20c2 Remove unused variables 2023-01-28 01:08:22 +01:00
Jan Nils Ferner
456c62e2ff Try out regular snapping again 2023-01-28 00:56:01 +01:00
Jan Nils Ferner
f1c8fdc1ec Try to fix false negatives on grounded 2023-01-28 00:52:16 +01:00
Jan Nils Ferner
e3fb4f7135 Move main ground detection duty to snapping to ground 2023-01-28 00:30:20 +01:00
Jan Nils Ferner
1a94c62a1a Fix missing ground check 2023-01-28 00:18:51 +01:00
Jan Nils Ferner
d4ca845393 Fix faulty max 2023-01-28 00:14:40 +01:00
Jan Nils Ferner
9daa741af2 Fix missing ground assignment 2023-01-28 00:03:50 +01:00
Jan Nils Ferner
337a963ce3 Fix code inconsistencies 2023-01-27 23:58:21 +01:00
Jan Nils Ferner
e7cb9bea2f Tweak prediction 2023-01-27 23:44:09 +01:00
Jan Nils Ferner
e094bf8f0d Tweak prediction 2023-01-27 23:41:39 +01:00
Jan Nils Ferner
8fa9f9cb1a Tweak prediction 2023-01-27 23:39:05 +01:00
Jan Nils Ferner
5bf57c6c50 Fix errors from early stops at penetration when casting 2023-01-27 23:35:26 +01:00
Jan Nils Ferner
f0563521a3 Remove redundant ground assignment 2023-01-27 23:10:14 +01:00
Jan Nils Ferner
e25b61b4bb Remove debug prints 2023-01-27 18:13:24 +01:00
Jan Nils Ferner
29dd3189ba Add some abs to checks 2023-01-27 18:08:12 +01:00
Jan Nils Ferner
0f6aa49422 Add debug prints to grounded 2023-01-27 18:02:48 +01:00
Jan Nils Ferner
05db3e8e0a Stop shape cast at penetration 2023-01-27 17:54:20 +01:00
Jan Nils Ferner
b93c6b5766 Fix missing account for offset 2023-01-27 17:20:12 +01:00
Jan Nils Ferner
014bbba042 Tweak prediction 2023-01-27 17:12:49 +01:00
Jan Nils Ferner
de42b77971 Tweak prediction 2023-01-27 17:11:36 +01:00
Jan Nils Ferner
22e92711d9 Tweak prediction 2023-01-27 17:08:12 +01:00
Jan Nils Ferner
fa9ab6c2bc Fix uncontrolled sliding 2023-01-27 15:50:41 +01:00
Jan Nils Ferner
247ed510b4 Fix horizontal offset not being respected 2023-01-27 15:08:41 +01:00
Jan Nils Ferner
7bfa593d3f Fix slightly incorrect snapping 2023-01-27 14:48:44 +01:00
Jan Nils Ferner
eaa3d8e259 Remove unnecessary clamp 2023-01-27 14:10:14 +01:00
Jan Nils Ferner
942cf76150 Update prediction 2023-01-27 00:22:30 +01:00
Jan Nils Ferner
9337093d83 Remove duplicated code 2023-01-27 00:18:57 +01:00
Jan Nils Ferner
e6035ed998 Reintroduce offset 2023-01-27 00:13:21 +01:00
Jan Nils Ferner
30058a61ea extend prediction 2023-01-27 00:01:32 +01:00
Jan Nils Ferner
5d7fdebea4 Play around with offset 2023-01-26 23:55:16 +01:00
Jan Nils Ferner
d5cd4fe4bc Only apply snap if necessary 2023-01-26 23:54:51 +01:00
Jan Nils Ferner
848fe9f473 Play around with offset 2023-01-26 23:51:28 +01:00
Jan Nils Ferner
1482106a1e Play around with offset 2023-01-26 23:47:29 +01:00
Jan Nils Ferner
d6ae55b4be Add offset back in 2023-01-26 23:42:40 +01:00
Jan Nils Ferner
1ff579164b Play with predictions 2023-01-26 23:39:49 +01:00
Jan Nils Ferner
c0c8ddb9d4 Remove offset 2023-01-26 23:36:41 +01:00
Jan Nils Ferner
6a437f47a9 Try to fix offset 2023-01-26 23:33:53 +01:00
Jan Nils Ferner
b69c9c4813 Increase prediction threshold 2023-01-26 23:27:16 +01:00
Jan Nils Ferner
6a75ed4b63 Try what happens without offset I think should be correct 2023-01-26 23:19:18 +01:00
Jan Nils Ferner
c63e2f2cbd Fix faulty offset application 2023-01-26 23:15:01 +01:00
Jan Nils Ferner
ff7ccc561a Remove wrong prediction 2023-01-26 23:12:49 +01:00
Jan Nils Ferner
485e1d9169 Play around wit grounded expectation 2023-01-26 23:10:15 +01:00
Jan Nils Ferner
c3b0bde6b2 Fix offset being gone after snapping to ground 2023-01-26 23:02:36 +01:00
Jan Nils Ferner
d5946f623b Disallow goin up/down upside-down stairs 2023-01-26 21:46:29 +01:00
Jan Nils Ferner
9a0757aeae Fix indentation 2023-01-26 21:43:56 +01:00