mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 12:41:01 +00:00
Merge branch 'inertia' into 'master'
Discard momentum upon player's teleportation (bug #6545) Closes #6545 See merge request OpenMW/openmw!2226
This commit is contained in:
commit
6f9c3c111e
@ -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…
x
Reference in New Issue
Block a user