fredzio
68f4c336ce
Rework again SetPos command to make more mods work.
...
Previous version skipped collision the frame immediately after a call to SetPos. It worked for one-off calls (teleports for instance) and continuous call along a pre-defined path (scenic travel). However, in the case of mod which uses SetPos to simulate a player-controlled movement, it is equivalent to using tcl.
Solution:
1/ skip update of mPosition and mPreviousPosition to avoid janky interpolation
2/ use back plain moveObject() instead of moveObjectBy() since we don't want physics simulation
3/ rework a little bit waterwalking influence on coordinate because of 1/
2021-10-29 23:20:17 +02:00
..
2017-09-15 02:36:59 -07:00
2017-04-13 22:33:13 +09:00
2019-02-19 18:40:33 +03:00
2020-10-16 22:18:54 +04:00
2015-09-10 18:48:34 +12:00
2020-10-16 22:18:54 +04:00
2013-04-28 14:59:15 +02:00
2020-10-16 22:18:54 +04:00
2019-02-19 18:40:33 +03:00
2020-10-16 22:18:54 +04:00
2021-04-07 16:57:06 -05:00
2020-10-16 22:18:54 +04:00
2020-10-13 17:46:32 +02:00
2020-10-16 22:18:54 +04:00
2019-11-18 12:41:11 +04:00
2020-10-16 22:18:54 +04:00
2018-04-02 21:12:38 +03:00
2020-10-16 22:18:54 +04:00
2019-02-23 08:02:12 +04:00
2020-10-16 22:18:54 +04:00
2019-02-19 18:40:33 +03:00
2020-10-16 22:18:54 +04:00
2018-09-10 15:18:07 +04:00
2020-10-16 22:18:54 +04:00
2019-11-18 12:41:11 +04:00
2020-10-16 22:18:54 +04:00
2021-10-06 18:25:28 +02:00
2021-10-06 18:25:28 +02:00
2016-07-08 23:28:49 +09:00
2020-10-16 22:18:54 +04:00
2021-10-20 23:02:15 +02:00
2021-10-20 23:02:15 +02:00
2021-10-11 21:33:35 +02:00
2021-10-11 21:33:35 +02:00
2021-01-26 22:29:41 +04:00
2021-09-06 22:52:08 +02:00
2021-04-10 11:20:12 +04:00
2021-09-29 19:25:10 +02:00
2021-06-23 23:13:59 +02:00
2021-09-30 22:58:40 +02:00
2021-10-11 13:46:21 +02:00
2021-10-11 13:46:21 +02:00
2021-10-12 00:18:23 +02:00
2021-06-24 00:26:15 +02:00
2021-01-26 22:29:41 +04:00
2019-05-02 23:03:47 +04:00
2021-04-05 11:53:07 +02:00
2020-06-05 12:07:32 +04:00
2020-06-05 12:07:32 +04:00
2019-08-25 15:21:00 +02:00
2021-09-29 19:25:10 +02:00
2021-09-29 19:25:10 +02:00
2021-10-26 21:52:42 +02:00
2021-10-26 21:52:42 +02:00
2021-04-30 20:49:22 +02:00
2020-10-16 22:18:54 +04:00
2020-06-05 12:07:32 +04:00
2021-04-30 20:49:22 +02:00
2021-10-11 13:46:21 +02:00
2021-09-29 19:25:10 +02:00
2021-10-25 09:08:50 +02:00
2021-10-25 09:08:50 +02:00
2021-10-11 13:46:21 +02:00
2016-02-26 13:08:35 +01:00
2020-11-29 11:14:07 +04:00
2015-02-09 15:01:49 +01:00
2020-10-16 22:18:54 +04:00
2021-09-29 19:25:10 +02:00
2021-10-11 13:28:37 +00:00
2021-10-27 22:17:06 +02:00
2021-09-29 19:25:10 +02:00
2021-10-25 09:08:50 +02:00
2019-02-19 18:40:33 +03:00
2021-10-05 12:02:49 +00:00
2021-10-04 12:12:00 +02:00
2021-10-20 23:02:15 +02:00
2021-10-01 21:20:08 +00:00
2021-10-12 00:18:23 +02:00
2021-08-29 20:41:15 +02:00
2015-12-26 00:26:13 +01:00
2015-03-06 21:36:42 +13:00
2021-10-25 10:23:16 -07:00
2021-10-23 17:53:38 -07:00
2021-10-29 23:20:17 +02:00
2021-10-29 23:20:17 +02:00