1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 17:49:55 +00:00
openmw-tes3mp/apps
fredzio 5bd921fa3a Restore pre-async handling of absolute actors positionning
One of the issue since the introduction of async physics is the quirky
handling of scripted moves. Previous attempt to account for them was
based on detecting changes in actor position while the physics thread is
running. To this end, semantics of Actor::updatePosition() (which is
responsible for set the absolute position of an actor in the world) was
toned down to merely store the desired position, with the physics system
actually responsible for moving the actor. For the cases were complete
override of the physics simulation was needed, I introduced
Actor::resetPosition(), which actually have same semantics as
original updatePosition(). This in turn introduced a loads of new bugs
when the weakened semantics broke key assumptions inside the engine
(spawning, summoning, teleport, etc).
Instead of tracking them down, count on the newly introduced support for
object relative movements in the engine (World::moveObjectBy) to
register relative movements and restore original handling of absolute positionning.

Changes are relatively small:
- move resetPosition() content into updatePosition()
- call updatePosition() everywhere it was called before
- remove all added calls to the now non-existing resetPosition()

tldr; ditch last month worth of bug introduction and eradication and redo
it properly
2020-12-20 19:23:09 +01:00
..
bsatool Add compressed BSA support to bsatool 2020-10-23 14:04:21 +03:00
esmtool supress -> suppress 2020-06-27 01:20:57 +02:00
essimporter Use overrides, when needed 2020-06-10 12:58:15 +04:00
launcher Add graphic herbalism to the launcher 2020-12-10 19:02:38 +01:00
mwiniimporter Merge pull request #3018 from akortunov/emplace 2020-11-01 01:58:56 +03:00
niftest Remove NIFFile settings manager dependency 2020-11-09 14:24:48 +03:00
opencs Properly reserve body parts for skirts (bug #5731) 2020-12-11 10:39:57 +03:00
openmw Restore pre-async handling of absolute actors positionning 2020-12-20 19:23:09 +01:00
openmw_test_suite Merge pull request #3032 from akortunov/gtest 2020-12-18 01:46:42 +03:00
wizard Wizard: fix "file is already opened" warning 2020-12-14 03:45:03 +03:00
doc.hpp