47 std::shared_ptr<Ogre::SceneNode> helicopterNode, Ogre::String rotorType);
~Rotor()
Definition: Rotor.cpp:23
void setUpActor(OgreApplication *application)
Definition: Rotor.cpp:81
Ogre::Vector3 rotationAxis
Definition: Rotor.h:25
void setRotateAxis(Ogre::Vector3 rotationAxis)
Definition: Rotor.cpp:59
Definition: OgreApplication.h:22
Ogre::Real scale
Definition: GameActor.h:26
void updateActor(float dt)
Definition: Rotor.cpp:99
A class for a GameActor object.
Definition: GameActor.h:14
Ogre::Real maxRotorSpeed
Definition: Rotor.h:27
A class for a Rotor object that inherits GameActor.
Definition: Rotor.h:14
void updateRotateSpeed()
Definition: Rotor.cpp:30
Ogre::Vector3 orientation
Definition: GameActor.h:24
Ogre::Real targetRotateSpeedPercent
Definition: Rotor.h:29
Ogre::Vector3 position
Definition: GameActor.h:22
void rotateRotor(float dt)
Definition: Rotor.cpp:68
Rotor(Ogre::Vector3 position, Ogre::Vector3 orientation, Ogre::Real scale, std::shared_ptr< Ogre::SceneNode > helicopterNode, Ogre::String rotorType)
Definition: Rotor.cpp:7
std::shared_ptr< Ogre::SceneNode > helicopterNode
Definition: Rotor.h:18
Ogre::Real rotateSpeed
Definition: Rotor.h:20
void setTargetRotateSpeedPercent(Ogre::Real targetRotateSpeedPercent)
Definition: Rotor.cpp:50
Ogre::String rotorType
Definition: Rotor.h:22