8 #include <vlpi/disEnums.h>
38 virtual bool init()
override;
44 virtual const char*
type()
const override;
47 virtual bool registerRadioMessageCallbacks();
50 static void setWarheadInfoCallback(
DtSimMessage* msg,
void* usr);
54 virtual void processWarheadInfoCallback(
DtSimMessage* msg);
71 virtual bool calculateCollisionVector(
const DtVector& oldLocalPosition,
const DtVector& oldLocalVelocity,DtVector & impactPoint,
72 DtVector & collisionVector,
double & speed);
75 virtual DtChord movementChord(
const DtVector& oldLocalPosition,
const DtVector& newLocalPosition,
76 DtVector& intersectionVector, DtVector& bvCenterFromPosition);
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
NOTE: This entire class is deprecated, in favor of Dt3dChord.
Definition: chord.h:40
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
Simpler version of Falling from the sky that ignores drag and wind.
Definition: frictionlessGravityCollisionActuator.h:18
const DtFrictionlessGravityActuator & operator=(const DtFrictionlessGravityActuator &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 bool isFallingApplicable()
Determines if this actuator is applicable. For the base actuator, it is only applicable if the entity...
bool myOnGround
Definition: frictionlessGravityCollisionActuator.h:97
File: simMsg.h.
Definition: simMessage.h:35
Definition: fallingFromSkyActuatorDescriptor.h:18
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
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtUUID myAttacker
Definition: frictionlessGravityCollisionActuator.h:99
Simpler version of Falling from the sky that ignores drag and wind.
Definition: frictionlessGravityActuator.h:20
virtual bool init() override
to get access to the entity's localStateRepository, which this component will update, and then connect to the controller's ports.
DtVector myLastPosition
Definition: frictionlessGravityCollisionActuator.h:95
virtual void fallFromSky() override
Causes the entity to fall from the sky, ignoring drag.
virtual void preFirstTickInit() override
This function can be overridden to initialize a component before it is ticked for the first time...
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
A locally simulated VRF object.
Definition: localObject.h:98