#ifndef OPENMW_MECHANICS_STEERING_H #include namespace MWWorld { class Ptr; } namespace MWMechanics { // Max rotating speed, radian/sec const Ogre::Radian MAX_VEL_ANGULAR(10); /// configure rotation settings for an actor to reach this target angle (eventually) /// @return have we reached the target angle? bool zTurn(const MWWorld::Ptr& actor, Ogre::Radian targetAngle, Ogre::Degree epsilon = Ogre::Degree(0.5)); bool smoothTurn(const MWWorld::Ptr& actor, Ogre::Radian targetAngle, int axis, Ogre::Degree epsilon = Ogre::Degree(0.5)); } #endif