Struct AutoRepathPolicy Extends IComponentData
Public
Policy for how often to recalculate an agent's path.
This is the unmanaged equivalent of Pathfinding.AutoRepathPolicy.
Public Methods
ShouldRecalculatePath
(position, radius, destination, time)
True if the path should be recalculated according to the policy.
Public Variables
lastDestination
Public
lastRepathTime
Public
mode
Policy to use when recalculating paths.
Public
period
Number of seconds between each automatic path recalculation for Mode.EveryNSeconds, and the maximum interval for Mode.Dynamic.
Public
Public Static Variables
Default
Public
Static
Sensitivity
How sensitive the agent should be to changes in its destination for Mode.Dynamic.
Public
Static