9 #include <vlpi/disEnums.h>
38 virtual const char*
type()
const;
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
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
int myFallingState
Definition: sinkToDepthActuator.h:100
virtual void tick()
Calls isFallingApplicable to determine if it should do anything, and if so calls fallFromSky.
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
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
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
virtual double riseRate()
The constant rate at which an entity under water will rise.
Definition: sinkToDepthActuator.h:87