1 #ifndef BEHAVIORDATA_HPP
2 #define BEHAVIORDATA_HPP
4 #include <steeriously/Utilities.hpp>
5 #include <steeriously/Vector2.hpp>
6 #include <steeriously/VectorMath.hpp>
24 obstacleAvoidance = 0x00100,
25 wallAvoidance = 0x00200,
32 offsetPursuit = 0x10000,
70 unsigned int NumAgents = 1;
71 float neighborhoodRadius = 100.f;
72 float SafeDistance = 100.f;
73 float ThreatRange = 100.f;
74 Uint32 deceleration = steer::Deceleration::fast;
75 float DecelerationTweaker = 0.3f;
76 Uint32 SummingMethod = steer::summingMethod::weightedSum;
78 unsigned int NumObstacles = 2;
79 float MinObstacleRadius = 10;
80 float MaxObstacleRadius = 30;
82 float SteeringForceTweaker = 200.f;
84 float SteeringForce = 2.f;
85 float MaxSpeed = 100.f;
86 float MaxForce = 400.f;
87 float MaxTurnRate = 10.f;
88 float VehicleMass = 1.f;
89 float VehicleScale = 1.f;
91 float SeparationWeight = 1.f;
92 float AlignmentWeight = 10.f;
93 float CohesionWeight = 10.f;
94 float ObstacleAvoidanceWeight = 10.f;
95 float WallAvoidanceWeight = 20.f;
96 float WanderWeight = 2.f;
97 float SeekWeight = 1.f;
98 float FleeWeight = 1.f;
99 float ArriveWeight = 1.f;
100 float PursuitWeight = 1.f;
101 float OffsetPursuitWeight = 1.f;
102 float InterposeWeight = 1.f;
103 float HideWeight = 1.f;
104 float EvadeWeight = 0.01f;
105 float FollowPathWeight = 10.f;
109 float wanderRadius = 100.f;
111 float wanderDistance = 0.001f;
113 float wanderJitterPerSecond = 360.f;
115 float waypointSeekDistance = 20.f;
116 float waypointSeekDistanceSquared = waypointSeekDistance*waypointSeekDistance;
118 float ViewDistance = 100.f;
120 float MinDetectionBoxLength = 40.f;
122 float WallDetectionFeelerLength = 40.f;
126 #endif // BEHAVIORDATA_HPP