1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/apps/openmw/mwbase
fredzio 63d4564455 In 0.46, SetPos was setting position of actors before physics simulation, and from this position movement was simulated. This changed with async physics merging, and at the same time problems started, mostly with abot's scenic travel.
Skipping the simulation, switching off collisions, and other approaches were not correct as they either broke some mods, or some core mechanics of the engine such as teleportation or waterwalking. As it turns out, the way to go is to simply do _nothing_ (modulo some gymnastics to account for the 1 frame difference in case of async).

Scripted movement and the unstucking logic tends to collide. Early out of unstuck in case the actor doesn't attempt to move. This means there is no AI package for NPC, which are the case for some boats and striders, or the player is content with their position.
2023-03-16 22:07:26 +01:00
..
dialoguemanager.hpp Convert RefId to class 2023-02-15 23:20:44 +01:00
environment.cpp
environment.hpp Rename MWWorld::Cells -> WorldModel 2022-12-15 20:45:18 +01:00
inputmanager.hpp Move some of player controls logic from C++ to Lua 2022-12-28 22:04:19 +01:00
journal.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
luamanager.hpp Add a bit of high-level developer documentation about the Lua system 2023-03-13 22:41:28 +00:00
mechanicsmanager.hpp Replace ESM::RefId::sEmpty by default constructed RefId where possible 2023-02-18 01:07:15 +01:00
rotationflags.hpp
scriptmanager.hpp Convert RefId to class 2023-02-15 23:20:44 +01:00
soundmanager.hpp Convert RefId to class 2023-02-15 23:20:44 +01:00
statemanager.hpp
windowmanager.hpp Convert RefId to class 2023-02-15 23:20:44 +01:00
world.hpp In 0.46, SetPos was setting position of actors before physics simulation, and from this position movement was simulated. This changed with async physics merging, and at the same time problems started, mostly with abot's scenic travel. 2023-03-16 22:07:26 +01:00