16 class BotNeedFullComputeFlags
23 BotNeedFullComputeFlags() { SetDefaults(); }
28 m_pathEventListNeedFullCompute =
true;
29 m_colliderCollectionNeedFullCompute =
true;
30 m_trajectoryNeedFullCompute =
true;
31 m_trajectoryFailedToFollowPath =
false;
32 m_pathEventListChangedLastUpdate =
false;
33 m_spatializationNeedUpdate =
true;
34 m_blockingTagVolumeDeIntegrated =
false;
35 m_newPathRequestRefused =
false;
38 bool GetPathEventListNeedFullCompute()
const {
return m_pathEventListNeedFullCompute; }
39 bool GetColliderCollectionNeedFullCompute()
const {
return m_colliderCollectionNeedFullCompute; }
40 bool GetTrajectoryNeedFullCompute()
const {
return m_trajectoryNeedFullCompute; }
41 bool GetTrajectoryFailedToFollowPath()
const {
return m_trajectoryFailedToFollowPath; }
42 bool GetPathEventListChangedLastUpdate()
const {
return m_pathEventListChangedLastUpdate; }
43 bool GetSpatializationNeedUpdate()
const {
return m_spatializationNeedUpdate; }
44 bool GetNewPathRequestRefused()
const {
return m_newPathRequestRefused; }
45 bool GetBlockingTagVolumeDeIntegrated()
const {
return m_blockingTagVolumeDeIntegrated; }
49 m_trajectoryFailedToFollowPath =
false;
50 m_pathEventListNeedFullCompute =
true;
51 m_trajectoryNeedFullCompute =
true;
54 void PathEventListStartedFullCompute()
56 m_pathEventListNeedFullCompute =
false;
59 void PathEventListHasChanged()
61 m_pathEventListChangedLastUpdate =
true;
64 void PathEventListUnchanged()
66 m_pathEventListChangedLastUpdate =
false;
69 void TrajectoryHasBeenFullyRecomputed()
71 m_trajectoryNeedFullCompute =
false;
74 void TrajectoryFailedToFollowPath()
76 m_trajectoryFailedToFollowPath =
true;
79 void ColliderCollectionHasBeenFullyRecomputed()
81 m_colliderCollectionNeedFullCompute =
false;
84 void EnableAvoidanceHasChanged()
89 void PathEventListConfigHasChanged()
91 m_pathEventListNeedFullCompute =
true;
92 m_trajectoryNeedFullCompute =
true;
95 void ShortcutTrajectoryConfigHasChanged()
97 m_trajectoryNeedFullCompute =
true;
100 void SplineTrajectoryConfigHasChanged()
102 m_trajectoryNeedFullCompute =
true;
105 void TrajectoryModeHasChanged()
107 m_trajectoryNeedFullCompute =
true;
110 void ColliderCollectorConfigHasChanged()
112 m_colliderCollectionNeedFullCompute =
true;
113 m_trajectoryNeedFullCompute =
true;
116 void AvoidanceConfigHasChanged()
121 void DoComputeTrajectoryHasBecomeTrue()
123 m_trajectoryNeedFullCompute =
true;
126 void PositionHasChanged()
128 m_spatializationNeedUpdate =
true;
131 void SpatializationUpdated()
133 m_spatializationNeedUpdate =
false;
136 void BlockingTagVolumeDeIntegrated()
138 m_blockingTagVolumeDeIntegrated =
true;
141 void NewPathRequestRefused()
143 m_newPathRequestRefused =
true;
146 void NewPathRequested()
148 m_blockingTagVolumeDeIntegrated =
false;
149 m_newPathRequestRefused =
false;
154 bool m_pathEventListNeedFullCompute;
155 bool m_colliderCollectionNeedFullCompute;
156 bool m_trajectoryNeedFullCompute;
157 bool m_trajectoryFailedToFollowPath;
158 bool m_pathEventListChangedLastUpdate;
159 bool m_spatializationNeedUpdate;
160 bool m_blockingTagVolumeDeIntegrated;
161 bool m_newPathRequestRefused;
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17