1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-10 11:31:43 +00:00
openmw/apps/openmw/mwscript
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
..
docs Console command "reload lua" 2021-07-09 20:24:56 +02:00
aiextensions.cpp Make GetCurrentAIPackage return -1 for non-actors and dead actors 2021-09-26 22:15:43 +02:00
aiextensions.hpp
animationextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
animationextensions.hpp
cellextensions.cpp And done! 2021-04-30 20:49:22 +02:00
cellextensions.hpp
compilercontext.cpp Remove dead code 2021-10-28 22:16:43 +02:00
compilercontext.hpp Remove dead code 2021-10-28 22:16:43 +02:00
consoleextensions.cpp Remove redundant includes 2019-02-23 08:02:12 +04:00
consoleextensions.hpp
containerextensions.cpp improves MWClass mapping (#3166) 2021-10-11 13:46:21 +02:00
containerextensions.hpp
controlextensions.cpp And done! 2021-04-30 20:49:22 +02:00
controlextensions.hpp
dialogueextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
dialogueextensions.hpp
extensions.cpp
extensions.hpp
globalscripts.cpp Don't resolve a script's target just to get the ID 2021-06-19 19:26:57 +02:00
globalscripts.hpp Don't resolve a script's target just to get the ID 2021-06-19 19:26:57 +02:00
guiextensions.cpp Fix ShowMap partial match filtering (bug #6115) 2021-07-03 01:04:22 +03:00
guiextensions.hpp
interpretercontext.cpp Add a ton of const refs 2021-06-23 23:13:59 +02:00
interpretercontext.hpp Add a ton of const refs 2021-06-23 23:13:59 +02:00
locals.cpp Cache failed compilation when getting locals 2021-07-04 10:58:12 +02:00
locals.hpp Implement 'Show' script instruction 2016-02-27 13:40:53 +01:00
miscextensions.cpp improves MWClass mapping (#3166) 2021-10-11 13:46:21 +02:00
miscextensions.hpp
ref.cpp
ref.hpp "static const" -> "static constexpr" in headers 2021-03-21 13:57:54 +01:00
scriptmanagerimp.cpp Merge branch 'local_crache' into 'master' 2021-07-08 22:16:15 +00:00
scriptmanagerimp.hpp Implement the help command 2021-07-07 18:48:25 +02: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 Overhaul magic effects to work with onApply and onEnd events 2021-09-29 19:25:10 +02:00
statsextensions.hpp
transformationextensions.cpp Rework again SetPos command to make more mods work. 2021-10-29 23:20:17 +02:00
transformationextensions.hpp
userextensions.cpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
userextensions.hpp