1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps
fredzio e5fa457fe7 Properly account for interleaved move of actors.
Before this change, if an actor position was changed while the physics
simulation was running, the simulation result would be discarded. It is
fine in case of one off event such as teleport, but in the case of
scripts making use of this functionality to make lifts or conveyor (such
as Sotha Sil Expanded mod) it broke actor movement.

To alleviate this issue, at the end of the simulation, the position of the Actor
in the world is compared to the position it had at the beginning of the
simulation. A difference indicate a force move occured. In this case,
the Actor mPosition and mPreviousPosition are translated by the difference of position.

Since the Actor position will be really set while the next simulation runs, we
save it in the mNextPosition field.
2020-11-14 20:39:16 +01:00
..
bsatool Add compressed BSA support to bsatool 2020-10-23 14:04:21 +03:00
esmtool
essimporter
launcher Put a stretch menu background checkbox into the launcher (#5672) 2020-11-01 02:14:25 +03:00
mwiniimporter Merge pull request #3018 from akortunov/emplace 2020-11-01 01:58:56 +03:00
niftest
opencs Merge pull request #3018 from akortunov/emplace 2020-11-01 01:58:56 +03:00
openmw Properly account for interleaved move of actors. 2020-11-14 20:39:16 +01:00
openmw_test_suite purge boost/optional.hpp headers 2020-10-25 00:58:44 +02:00
wizard
doc.hpp