9 #include <vlpi/disEnums.h>
38 virtual const char*
type()
const override;
49 virtual void tick()
override;
66 virtual void computeTerrainSituation();
69 virtual double waterDragCoefficient()
const;
75 virtual void sinkInWater();
80 virtual void riseInWater();
83 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:43
A falling from sky that will take underwater depth into account when beneath the surface. Will hard stop the entity when it reaches the ordered altitude or the sea floor.
Definition: sinkToDepthActuator.h:19
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
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:49
Definition: readerWriterRegistry.h:39
virtual void tick() override
Calls isFallingApplicable to determine if it should do anything, and if so calls fallFromSky.
int myFallingState
Definition: sinkToDepthActuator.h:100
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Definition: sinkToDepthActuator.h:102
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition: sinkToDepthActuator.h:44
bool myUnderwater
Definition: sinkToDepthActuator.h:101
DtFallingFromSkyActuatorComponent provides a simple, kinematics-based model for air motion based on t...
Definition: fallingFromSkyActuatorComponent.h:34
A locally simulated VRF object.
Definition: localObject.h:98
virtual double riseRate()
The constant rate at which an entity under water will rise.
Definition: sinkToDepthActuator.h:87