10 #include <Atoms/Globals.h>
19 enum class Flags : unsigned short
22 DisableAgentAvoidance = (1 << 0),
23 DisableNavigation = (1 << 1),
24 DisableGroundAdaptation = (1 << 2),
25 UseAgentDirection = (1 << 3)
34 void setNumSamples(
unsigned int numSamples);
36 void disableAgentAvoidance(
bool value);
38 bool hasAgentAvoidanceDisabled()
const;
40 void disableNavigation(
bool value);
42 bool hasNavigationDisabled()
const;
44 void disableGroundAdaptation(
bool value);
46 bool hasGroundAdaptationDisabled()
const;
48 bool useAgentDirection()
const;
50 void setUseAgentDirection(
bool value);
52 void fillInterestMap(
const AtomsMath::Vector3& direction,
float weight);
54 double getSlot(
const AtomsMath::Vector3& dir);
58 AtomsMath::Vector3 position;
59 AtomsMath::Vector3 direction;
60 AtomsMath::Vector3 up;
61 AtomsMath::Vector3 lastDirection;
62 AtomsMath::Vector3 target;
63 std::vector<AtomsMath::Vector3> obstacles;
64 std::vector<float> samples;
65 std::vector<float> danger;
66 std::vector<float> interest;
67 std::vector<float> result;
69 float previousLinearVelocity;
70 float maxLinearAcceration;
72 unsigned int dynamicSamples;
73 unsigned int numDirectionalModules;
Definition: ContextSteering.h:16
Atoms namespace.
Definition: Agent.h:29