3 #include <Atoms/BehaviourModule.h>
4 #include <Atoms/Agent.h>
5 #include <AtomsUtils/NavigationMesh/Detour/DetourNavMesh.h>
6 #include <AtomsUtils/NavigationMesh/Detour/DetourNavMeshQuery.h>
7 #include <AtomsUtils/NavigationMesh/Detour/DetourCommon.h>
8 #include <AtomsUtils/NavigationMesh/Detour/DetourPathCorridor.h>
11 namespace AtomsModules
26 float cornerVerts[5 * 3];
27 unsigned char cornerFlags[5];
29 double topologyOptTime;
31 int sequenceTargetReached;
32 double metadataStartValue;
33 double targetReachTime;
34 AtomsMath::Vector3 startDirection;
36 bool IgnoreSequenceTargetAfterReached;
37 bool metadataStartValueInit;
58 bool moveAgentAlongPath(
Atoms::Agent* agent, AtomsMath::Vector3* position,
double pelvisHeight);
Agent group.
Definition: AgentGroup.h:36
Agent.
Definition: Agent.h:44
Behaviour module.
Definition: BehaviourModule.h:32
Definition: DrawContext.h:17
Definition: NavigationModule.h:18
Definition: NavigationModule.h:14
void initFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Init frame.
void agentsKilled(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Post frame.
void draw(Atoms::DrawContext *context, const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Draw.
void agentsCreated(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Agents Created.
void initSimulation(Atoms::AgentGroup *agentGroup)
Init simulation.
void endFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
End frame.
Definition: DetourNavMeshQuery.h:323
Definition: DetourPathCorridor.h:34
Definition: DetourNavMeshQuery.h:87
Type_uint64 dtPolyRef
Definition: DetourNavMesh.h:47
Definition: DetourNavMeshQuery.h:45