8 #include <vlpi/disEnums.h>
37 virtual const char*
type()
const;
65 virtual void computeTerrainSituation();
68 virtual double waterDragCoefficient()
const;
74 virtual void sinkInWater();
79 virtual void riseInWater();
82 virtual double waterDragAccelerationFromSpeed(
double curSpeed)
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Definition: sinkToDepthActuator.h:42
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
A falling from sky that will take underwater depth into account when beneath the surface.
Definition: sinkToDepthActuator.h:18
const DtFallingFromSkyActuatorComponent & operator=(const DtFallingFromSkyActuatorComponent &orig)
assignment operator; not implemented
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition: readerWriterRegistry.h:39
int myFallingState
Definition: sinkToDepthActuator.h:99
virtual void tick()
Calls isFallingApplicable to determine if it should do anything, and if so calls fallFromSky.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
Definition: sinkToDepthActuator.h:43
bool myUnderwater
Definition: sinkToDepthActuator.h:100
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtFallingFromSkyActuatorComponent provides a simple, kinematics-based model for air motion based on t...
Definition: fallingFromSkyActuatorComponent.h:33
virtual const char * type() const
Returns a string identifies the class type of component.
virtual double riseRate()
The constant rate at which an entity under water will rise.
Definition: sinkToDepthActuator.h:86