1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00
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-04-13 22:33:13 +09:00
2019-02-19 18:40:33 +03:00
2013-04-28 14:59:15 +02:00
2019-02-19 18:40:33 +03:00
2019-02-23 08:02:12 +04:00
2019-02-19 18:40:33 +03:00
2021-10-20 23:02:15 +02:00
2021-10-20 23:02:15 +02:00
2021-06-23 23:13:59 +02:00
2021-10-11 13:46:21 +02:00
2021-10-11 13:46:21 +02:00
2019-08-25 15:21:00 +02:00
2021-04-30 20:49:22 +02:00
2021-04-30 20:49:22 +02:00
2021-10-25 09:08:50 +02:00
2021-10-25 09:08:50 +02:00
2021-10-11 13:28:37 +00: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-20 23:02:15 +02: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