|
Public Member Functions |
virtual const Vector3 & | getVelocity () const |
virtual Vector3 * | getVelocityP () |
Vector3 | getMomentum () const |
const Vector3 & | getForce () const |
Vector3 * | getForceP () |
Vector3 | getAccelleration () const |
float | getMass () const |
float | getOneOverMass () const |
bool | hasInfiniteMass () const |
void | setVelocity (const Vector3 &velocity) |
void | setForce (const Vector3 &force) |
virtual void | addForce (const Vector3 &force) |
void | resetForce () |
void | setAccelleration (const Vector3 &accelleration) |
void | setMass (float mass) |
void | setOneOverMass (float oneOverMass) |
void | setInfiniteMass () |
Protected Member Functions |
| Physical (float mass=1.0) |
Protected Attributes |
Vector3 | m_velocity |
Vector3 | m_force |
float | m_oneOverMass |