mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Discard momentum upon teleportation (bug #6545)
This commit is contained in:
parent
9a4df75f3c
commit
bccdefd63f
@ -118,6 +118,7 @@
|
|||||||
Bug #6519: Effects tooltips for ingredients work incorrectly
|
Bug #6519: Effects tooltips for ingredients work incorrectly
|
||||||
Bug #6523: Disintegrate Weapon is resisted by Resist Magicka instead of Sanctuary
|
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 #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 #6559: Weapon condition inconsistency between melee and ranged critical / sneak / KO attacks
|
||||||
Bug #6579: OpenMW compilation error when using OSG doubles for BoundingSphere
|
Bug #6579: OpenMW compilation error when using OSG doubles for BoundingSphere
|
||||||
Bug #6606: Quests with multiple IDs cannot always be restarted
|
Bug #6606: Quests with multiple IDs cannot always be restarted
|
||||||
|
@ -699,7 +699,10 @@ namespace MWPhysics
|
|||||||
void PhysicsSystem::clearQueuedMovement()
|
void PhysicsSystem::clearQueuedMovement()
|
||||||
{
|
{
|
||||||
for (const auto& [_, actor] : mActors)
|
for (const auto& [_, actor] : mActors)
|
||||||
|
{
|
||||||
actor->setVelocity(osg::Vec3f());
|
actor->setVelocity(osg::Vec3f());
|
||||||
|
actor->setInertialForce(osg::Vec3f());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<Simulation> PhysicsSystem::prepareSimulation(bool willSimulate)
|
std::vector<Simulation> PhysicsSystem::prepareSimulation(bool willSimulate)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user