Jamie Slowgrove - OOT Assignment 1 - A Mission in Afghanistan
|
#include <GamePhysics.h>
Public Member Functions | |
ProjectileObject (Ogre::Vector3 initalVelocity) | |
ProjectileObject (Ogre::Real initalXVelocity, Ogre::Real initalYVelocity, Ogre::Real initalZVelocity) | |
Public Attributes | |
Ogre::Vector3 | displacement |
Ogre::Vector3 | initalVelocity |
Ogre::Vector3 | velocity |
Ogre::Real | acceleration |
Ogre::Real | time |
A structure for game objects that need projectile motion. For use with SUVAT equations.
|
inline |
Constructs the ProjectileObject.
Ogre::Vector3 | The inital velocity of the object. |
|
inline |
Constructs the ProjectileObject.
Ogre::Real | The inital x velocity of the object. |
Ogre::Real | The inital y velocity of the object. |
Ogre::Real | The inital z velocity of the object. |
Ogre::Real GamePhysics::ProjectileObject::acceleration |
The acceleration of the object
Ogre::Vector3 GamePhysics::ProjectileObject::displacement |
The displacement of the object
Ogre::Vector3 GamePhysics::ProjectileObject::initalVelocity |
The initial velocities of the object
Ogre::Real GamePhysics::ProjectileObject::time |
The time taken by the object
Ogre::Vector3 GamePhysics::ProjectileObject::velocity |
The velocities of the object