VSZ:
@**Kavaar **
This is actually a very common usecase. The sample project’s “Pursuit Chase Behavior” example demonstrates how to implement exactly what you want so do check that out first.
The force reschedule flag is more relevant for direct API queries rather than behavior trees. For behavior trees, the task needs to be aborted restarted so you’ll need setup your “observer notify” states right and have a service (or some other node) to periodically check for stale locations; see the Pursuit BT for an example of this.
In the latest version of the plugin, a community member added a “Recalculate Path Tolerance” feature. If you turn that flag on and periodically update the flight location vector, it will automatically detect when the target is stale (based on the threshold you have set) and calculate a new path. This is perhaps the ideal way to approach this now.
The “Pursuit Chase Behavior” example hasn’t been updated to use the new approach, so it showcases the old way of doing things; pick whichever works best for you!
–
**@SaOk -**Nativization hasn’t really been tested for the plugin yet. At some point it should be taken up, so thanks for the pointer!
Thanks for this info - was able to get the plugin to re-create the path when my goal actor (which moves) goes a certain distance away from the goal key of the AI bot.
great job with the plugin.