diff options
author | Josh Jones <kilauea.jones@gmail.com> | 2023-02-08 23:18:53 -0800 |
---|---|---|
committer | Josh Jones <kilauea.jones@gmail.com> | 2023-02-08 23:18:53 -0800 |
commit | 097f8a5fdb9b8fc5fc455356fab851439c06f35f (patch) | |
tree | 7aca3ae86e5f30786e962881c02061b86b041794 /modules/gdscript | |
parent | 2572f6800aef09bd6ea96f3b1c7a999a962eecb7 (diff) |
Fix missing avoidance updates when using same velocity
When using avoidance, if you set the same velocity for the agent, you won't get an update from the avoidance system.
This changes both the `set_target_position` and `set_velocity` setters to always accept user provided values, even if they are the same. This ensures that repathing and avoidance logic is always run when the user expects.
Diffstat (limited to 'modules/gdscript')
0 files changed, 0 insertions, 0 deletions