mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
68f4c336ce
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/ |
||
---|---|---|
.. | ||
docs | ||
aiextensions.cpp | ||
aiextensions.hpp | ||
animationextensions.cpp | ||
animationextensions.hpp | ||
cellextensions.cpp | ||
cellextensions.hpp | ||
compilercontext.cpp | ||
compilercontext.hpp | ||
consoleextensions.cpp | ||
consoleextensions.hpp | ||
containerextensions.cpp | ||
containerextensions.hpp | ||
controlextensions.cpp | ||
controlextensions.hpp | ||
dialogueextensions.cpp | ||
dialogueextensions.hpp | ||
extensions.cpp | ||
extensions.hpp | ||
globalscripts.cpp | ||
globalscripts.hpp | ||
guiextensions.cpp | ||
guiextensions.hpp | ||
interpretercontext.cpp | ||
interpretercontext.hpp | ||
locals.cpp | ||
locals.hpp | ||
miscextensions.cpp | ||
miscextensions.hpp | ||
ref.cpp | ||
ref.hpp | ||
scriptmanagerimp.cpp | ||
scriptmanagerimp.hpp | ||
skyextensions.cpp | ||
skyextensions.hpp | ||
soundextensions.cpp | ||
soundextensions.hpp | ||
statsextensions.cpp | ||
statsextensions.hpp | ||
transformationextensions.cpp | ||
transformationextensions.hpp | ||
userextensions.cpp | ||
userextensions.hpp |