openmw-tes3coop/apps/openmw/mwmechanics/steering.hpp

23 lines
401 B
C++
Raw Normal View History

2014-01-29 19:29:07 +00:00
#ifndef OPENMW_MECHANICS_STEERING_H
#include <OgreMath.h>
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
2014-04-20 16:35:07 +00:00
// Max rotating speed, radian/sec
const Ogre::Radian MAX_VEL_ANGULAR(10);
2014-01-29 19:29:07 +00:00
/// 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);
}
#endif