SO3Engine
|
OgreNewt_PlayerController.h
Go to the documentation of this file.
6 OgreNewt basically has no license, you may use any or all of the library however you desire... I hope it can help you in any way.
34 PlayerController(OgreNewt::Body* child, Ogre::Real stairHeight, Ogre::Real kinematicCushion = 1.0f/64.0f);
virtual ~PlayerController()
virtual void showDebugData(Ogre::SceneNode *debugRootNode)
show joint visual debugging data
PlayerController(OgreNewt::Body *child, Ogre::Real stairHeight, Ogre::Real kinematicCushion=1.0f/64.0f)
constructor
void setVelocity(Ogre::Real forwardSpeed, Ogre::Real sideSpeed, Ogre::Radian heading)
set the characters velocity, the -Speed-values can be negative, sideSpeed positive means move to the ...
std::vector< DebugInfo > m_debugInfo
Definition OgreNewt_PlayerController.h:60
void getVelocity(Ogre::Real &forwardSpeed, Ogre::Real &sideSpeed, Ogre::Radian &heading) const
get currently set velocity
void * m_playershape
Definition OgreNewt_PlayerController.h:56
Ogre::SceneNode * m_node
Definition OgreNewt_PlayerController.h:57
Ogre::ManualObject * m_visualDebug
Definition OgreNewt_PlayerController.h:58
Generated by 1.9.8