Function AutoRepathPolicy.ShouldRecalculatePath
True if the path should be recalculated according to the policy.
Public
bool ShouldRecalculatePath (
position | The current position of the agent. |
|
float | radius | The radius of the agent. You may pass 0.0 if the agent doesn't have a radius. |
destination | The goal of the agent right now |
|
float | time | The current time in seconds |
True if the path should be recalculated according to the policy.
The above parameters are relevant only if mode is Mode.Dynamic.