diff --git a/apps/openmw/mwrender/mwscene.cpp b/apps/openmw/mwrender/mwscene.cpp index dd44be8823..c4e5cd477d 100644 --- a/apps/openmw/mwrender/mwscene.cpp +++ b/apps/openmw/mwrender/mwscene.cpp @@ -136,10 +136,10 @@ void MWScene::doPhysics (float duration, MWWorld::World& world, //mat.ToEulerAnglesXYZ(x,y,z); //mat.FromEulerAnglesXYZ(Ogre::Radian(0),z,Ogre::Radian(0)); Ogre::Vector3 dir1(iter->second.x,iter->second.z,-iter->second.y); - Ogre::Vector3 dir = quat*dir1; + Ogre::Vector3 dir = 0.01*(quat*dir1); //the add the movement: - act->setWalkDirection(btVector3(dir.x,-dir.z,dir.y)*duration); + act->setWalkDirection(btVector3(dir.x,-dir.z,dir.y)); } //std::cout << "duration " << duration << std::endl; eng->stepSimulation(duration); diff --git a/libs/openengine b/libs/openengine index 3f0b610f2c..7185eab18c 160000 --- a/libs/openengine +++ b/libs/openengine @@ -1 +1 @@ -Subproject commit 3f0b610f2c5331fbc01617f993b77ead7e5261e8 +Subproject commit 7185eab18c29a0a5e03e44690d6bd8ece7e3792b