1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-23 21:23:51 +00:00
openmw-tes3mp/apps/openmw/mwscript
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
..
docs Give new opcodes to old functions made custom 2020-05-23 11:57:15 +03:00
aiextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
aiextensions.hpp
animationextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
animationextensions.hpp
cellextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
cellextensions.hpp
compilercontext.cpp fixed for compiler not recognising script names in some situations 2015-10-08 14:01:29 +02:00
compilercontext.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
consoleextensions.cpp Remove redundant includes 2019-02-23 08:02:12 +04:00
consoleextensions.hpp
containerextensions.cpp Fix remove item regression 2020-10-26 20:13:24 +01:00
containerextensions.hpp
controlextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
controlextensions.hpp
dialogueextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
dialogueextensions.hpp
extensions.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
extensions.hpp
globalscripts.cpp Use emplace_back instead of push_back 2020-10-18 10:27:35 +04:00
globalscripts.hpp inherit variables 2020-07-29 18:43:56 +02:00
guiextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
guiextensions.hpp
interpretercontext.cpp Use more C++11 in the scripting system code 2020-07-30 20:57:25 +04:00
interpretercontext.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
locals.cpp Use emplace_back instead of push_back 2020-10-18 10:27:35 +04:00
locals.hpp Implement 'Show' script instruction 2016-02-27 13:40:53 +01:00
miscextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
miscextensions.hpp
ref.cpp Remove some including of mwbase/world.hpp 2015-02-09 17:45:48 +01:00
ref.hpp Remove some including of mwbase/world.hpp 2015-02-09 17:45:48 +01:00
scriptmanagerimp.cpp Fix AppVeyor warnings 2020-08-07 09:59:16 +03:00
scriptmanagerimp.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
skyextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
skyextensions.hpp
soundextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
soundextensions.hpp
statsextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
statsextensions.hpp
transformationextensions.cpp Properly account for interleaved move of actors. 2020-11-14 20:39:16 +01:00
transformationextensions.hpp fix -Wnewline-eof warnings 2015-03-11 10:54:45 -04:00
userextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
userextensions.hpp