#include <flight_manager_base.h>
Public Member Functions | |
void | clear () |
void | setPath (const FVector &from, const FVector &to) |
virtual MoverState | move (CErrorCode &errorCode, FVector &pos, FMatrix &orientation) |
virtual void | buildMotionTable (int sustain, int decay, float distance) |
bool | isActive () const |
Protected Attributes | |
bool | _active |
FVector | _srcPos |
FVector | _destPos |
double | _distance |
FVector | _direction |
bool | _flight |
double | _step |
double | _step1 |
int | _accCount |
int | _traCount |
int | _decCount |
int | _totCount |
double | _gammaTable [32] |
double | _currentSpin |
double | _spinStep |
COrientationChanger | _orientationChanger |
Base class for flight manager handling automated movement
void Titanic::CFlightManagerBase::clear | ( | ) |
Clear src and dest orientation and set some default values for other fields
Setup a transition to from one position to another
|
inlinevirtual |
Applys speeds to the mover. More than one application is usually done for several transitions
Reimplemented in Titanic::CMarkedAutoMover, and Titanic::CFlightManagerUnmarked.
|
virtual |
Given a distance to cover, builds an acceleration table for the journey