1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-16 16:10:58 +00:00
OpenMW/apps
fredzio 7a67492d81 Unbreak SetPos and the mods using it.
To make SetPos works with async physics, it was modified to register a
position offset that would be applied to the real position during the
simulation.

A common pattern to teleport NPC in scripts is a sequence of SetPos/Disable/Enable in the same frame.
Since Disable/Enable creates a new physics actor using last known
RefData::Position, the registered offset never get a chance to be applied.

Modify disable() to call moveObject with the offset applied, so that the newly created physics actor will have up-to-date position
2021-03-28 21:19:14 +02:00
..
bsatool
esmtool
essimporter
launcher
mwiniimporter
niftest
opencs "static const" -> "static constexpr" in headers 2021-03-21 13:57:54 +01:00
openmw Unbreak SetPos and the mods using it. 2021-03-28 21:19:14 +02:00
openmw_test_suite Set bounding min and max height for btHeightfieldTerrainShape 2021-02-28 20:49:22 +01:00
wizard
doc.hpp