Commit Graph

106 Commits

Author SHA1 Message Date
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
Jan Nils Ferner
3cabe58ac6 Remove debug prints 2023-01-26 21:21:09 +01:00
Jan Nils Ferner
6701108f6f Check downwards stairs 2023-01-26 21:14:49 +01:00
Jan Nils Ferner
ff85d79956 Add some early returns 2023-01-26 21:07:44 +01:00
Jan Nils Ferner
8528c6e87b move debug prints 2023-01-26 20:44:48 +01:00
Jan Nils Ferner
4fcbd53bfe Refactor variable 2023-01-26 20:41:48 +01:00
Jan Nils Ferner
ecd57a6519 Cut off invalid values 2023-01-26 20:37:34 +01:00
Jan Nils Ferner
83a9c08b2c Apply translation left 2023-01-26 20:32:03 +01:00
Jan Nils Ferner
18c59417de Cleanup function calls 2023-01-26 20:28:10 +01:00
Jan Nils Ferner
848009e399 Extract function 2023-01-26 20:07:38 +01:00
Jan Nils Ferner
075f45ca1c Simplify code 2023-01-26 19:28:18 +01:00
Jan Nils Ferner
bf3cc98489 Simplify unused code 2023-01-26 19:18:57 +01:00
Jan Nils Ferner
000c759b78 Simplify slope code 2023-01-26 19:09:50 +01:00
Jan Nils Ferner
615b7fbf6f Fix not sliding down wall 2023-01-26 18:43:47 +01:00