2014-01-29 19:29:07 +00:00
|
|
|
#ifndef OPENMW_MECHANICS_STEERING_H
|
|
|
|
|
|
|
|
#include <OgreMath.h>
|
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class Ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace MWMechanics
|
|
|
|
{
|
|
|
|
|
|
|
|
/// configure rotation settings for an actor to reach this target angle (eventually)
|
|
|
|
/// @return have we reached the target angle?
|
2014-04-20 04:27:18 +00:00
|
|
|
bool zTurn(const MWWorld::Ptr& actor, Ogre::Radian targetAngle,
|
|
|
|
Ogre::Degree epsilon = Ogre::Degree(0.5));
|
2014-01-29 19:29:07 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|