Cyclone | Cyclone: cyclone::AeroControl Class Reference |
#include <fgen.h>
Inheritance diagram for cyclone::AeroControl:
Public Member Functions | |
AeroControl (const Matrix3 &base, const Matrix3 &min, const Matrix3 &max, const Vector3 &position, const Vector3 *windspeed) | |
Creates a new aerodynamic control surface with the given properties. | |
void | setControl (real value) |
Sets the control position of this control. | |
virtual void | updateForce (RigidBody *body, real duration) |
Applies the force to the given rigid body. | |
Protected Attributes | |
Matrix3 | maxTensor |
The aerodynamic tensor for the surface, when the control is at its maximum value. | |
Matrix3 | minTensor |
The aerodynamic tensor for the surface, when the control is at its minimum value. | |
real | controlSetting |
The current position of the control for this surface. |
This requires three inertia tensors, for the two extremes and 'resting' position of the control surface. The latter tensor is the one inherited from the base class, the two extremes are defined in this class.
|
Creates a new aerodynamic control surface with the given properties.
|
|
Sets the control position of this control. This * should range between -1 (in which case the minTensor value is * used), through 0 (where the base-class tensor value is used) * to +1 (where the maxTensor value is used). Values outside that range give undefined results. |
|
Applies the force to the given rigid body.
Reimplemented from cyclone::Aero. |
|
The current position of the control for this surface. This should range between -1 (in which case the minTensor value is used), through 0 (where the base-class tensor value is used) to +1 (where the maxTensor value is used). |
|
The aerodynamic tensor for the surface, when the control is at its maximum value.
|
|
The aerodynamic tensor for the surface, when the control is at its minimum value.
|
© 2000-2003 Icosagon. All Rights Reserved.
Distributed under licence.
Cyclone Version 2.0.5 (Documentation generated Fri Nov 10 20:44:23 2006). |