15 #include <matrix/vlVector.h>
16 #include <matrix/vlTaitBryan.h>
18 #include <boost/unordered_map.hpp>
19 #include <boost/function.hpp>
28 class DtEntity3dFacade;
30 class DtIntersectorResult;
41 const DtVector& direction,
const std::string& modelDefinitionName,
48 bool tick(
double simTime );
56 virtual DtTaitBryan orientationFromOldAndNewPositions(
const DtVector& oldPos,
const DtVector& newPos );
DtTaitBryan myOrientation
projectile orientation
Definition: DtProjectile.h:65
DtVector myFiringPosition
initial projectile position
Definition: DtProjectile.h:72
DtEntity3dFacade * myFacade
Definition: DtProjectile.h:63
boost::function< void(const DtIntersectorResult &, double)> IntersectionCallback
Definition: DtProjectile.h:36
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
DtVector myDirection
vector direction
Definition: DtProjectile.h:74
The DtEntity3dFacade is a facade around agents that make up an entity in the 3D model set...
Definition: DtEntity3dFacade.h:39
#define DT_DLL_EXAMPLEPROJECTILE
Definition: exampleProjectile.h:20
DtVector myVelocity0
speed of the projectile
Definition: DtProjectile.h:76
Contains makVrv::DtUniqueID type.
DtDe & myDe
DtDe reference.
Definition: DtProjectile.h:61
Definition: DtProjectile.h:32
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
double myFiringStartTime
simulation time that the projectile got fired
Definition: DtProjectile.h:67
IntersectionCallback myIntersectionCallback
Intersection function callback.
Definition: DtProjectile.h:69
DtVector myAcceleration
projectile acceleration
Definition: DtProjectile.h:78