Main Physics object. More...
#include <_src_physics_physics_control.hh>
Public Member Functions | |
| CLASS_METHOD bool | Enable (const bool enable) |
| CLASS_METHOD void | PermanentlyDisable (void) |
| CLASS_METHOD bool | IfEnabled (void) |
| CLASS_METHOD void | EnableStall (const bool enabled) |
| CLASS_METHOD bool | IfStallEnabled (void) |
| CLASS_METHOD fp | GetSimulationSpeed (void) |
| Get "simulation speed". Used to scale translation steps computed by physics. | |
| CLASS_METHOD void | SetSimulationSpeed (const fp simulationSpeed) |
Private Attributes | |
| CLASS_VAR bool | msEnabled |
| CLASS_VAR bool | msPermanentlyDisabled |
| set by -no-physics | |
| CLASS_VAR bool | msStallEnabled |
| CLASS_VAR fp | msSimulationSpeed |
| for fast-motion | |
Main Physics object.
This class is a master switch.
| CLASS_METHOD bool physics::PhysicsControl::Enable | ( | const bool | enable | ) | [inline] |
| CLASS_METHOD void physics::PhysicsControl::EnableStall | ( | const bool | enabled | ) | [inline] |
| CLASS_METHOD fp physics::PhysicsControl::GetSimulationSpeed | ( | void | ) | [inline] |
Get "simulation speed". Used to scale translation steps computed by physics.
| CLASS_METHOD bool physics::PhysicsControl::IfEnabled | ( | void | ) | [inline] |
| CLASS_METHOD bool physics::PhysicsControl::IfStallEnabled | ( | void | ) | [inline] |
| CLASS_METHOD void physics::PhysicsControl::PermanentlyDisable | ( | void | ) | [inline] |
| CLASS_METHOD void physics::PhysicsControl::SetSimulationSpeed | ( | const fp | simulationSpeed | ) | [inline] |
CLASS_VAR bool physics::PhysicsControl::msEnabled [private] |
CLASS_VAR bool physics::PhysicsControl::msPermanentlyDisabled [private] |
set by -no-physics
CLASS_VAR fp physics::PhysicsControl::msSimulationSpeed [private] |
for fast-motion
CLASS_VAR bool physics::PhysicsControl::msStallEnabled [private] |
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12