14 #include "matrix/vlVector.h"
41 virtual bool init()
override;
52 virtual bool obstacleEnabled();
55 virtual void createNavObstacle();
60 virtual bool shouldBecomeStationary(
double& elapsedTime)
const;
63 virtual void tick()
override;
65 virtual void clearNavObstacles();
A nav interface is a software component of an object that maintains the object's presence in the navi...
Definition: vrfObjectNavInterface.h:39
DtPlatformSimObjectFacade myPlatformSimObjectFacade
Definition: dynamicObstacleNavInterface.h:76
bool myOnlyCreateInCurrentArea
Definition: dynamicObstacleNavInterface.h:77
std::map< DtNavArea *, DtNavObstacle * > myNavObstacles
Definition: dynamicObstacleNavInterface.h:68
virtual void onNavAreaSetChanged()
Called when the set of secondary nav areas has changed (e.g. a secondary area finished loading or was...
Definition: vrfObjectNavInterface.h:86
Definition: navObstacle.h:19
DtNavArea * myNavArea
Definition: dynamicObstacleNavInterface.h:70
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This is the DtVrfObjectNavInterface subclass for objects which are treated as frequently moving obsta...
Definition: dynamicObstacleNavInterface.h:22
This class contains all the data and logic for navigation within a specific area. Nav Data may be loa...
Definition: navArea.h:205
virtual bool init()
Virtual init, called from the create() method.
double myStationaryTime
How long the obstacle has been stationary.
Definition: dynamicObstacleNavInterface.h:72
virtual void postObjectInit()
Perform additional initialization after the object has been initialized. Default behavior is to do no...
Definition: vrfObjectNavInterface.h:67
DtVector myPreviousLocalPos
Definition: dynamicObstacleNavInterface.h:69
double myTimeToBecomeStationary
Cache for the nav property.
Definition: dynamicObstacleNavInterface.h:74
DtVrfObjectNavInterface & operator=(const DtVrfObjectNavInterface &orig)
Not Implemented.
bool myShouldBecomeStationary
Definition: dynamicObstacleNavInterface.h:75
virtual void changingNavArea(DtNavArea *newNavArea)
Called when about to change to a new navArea.
A locally simulated VRF object.
Definition: localObject.h:98