Discard momentum upon teleportation (bug #6545)

check_span
Alexei Kotov 2 years ago
parent 9a4df75f3c
commit bccdefd63f

@ -118,6 +118,7 @@
Bug #6519: Effects tooltips for ingredients work incorrectly
Bug #6523: Disintegrate Weapon is resisted by Resist Magicka instead of Sanctuary
Bug #6544: Far from world origin objects jitter when camera is still
Bug #6545: Player character momentum is preserved when going to a different cell
Bug #6559: Weapon condition inconsistency between melee and ranged critical / sneak / KO attacks
Bug #6579: OpenMW compilation error when using OSG doubles for BoundingSphere
Bug #6606: Quests with multiple IDs cannot always be restarted

@ -699,7 +699,10 @@ namespace MWPhysics
void PhysicsSystem::clearQueuedMovement()
{
for (const auto& [_, actor] : mActors)
{
actor->setVelocity(osg::Vec3f());
actor->setInertialForce(osg::Vec3f());
}
}
std::vector<Simulation> PhysicsSystem::prepareSimulation(bool willSimulate)

Loading…
Cancel
Save