summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorJosh Jones <kilauea.jones@gmail.com>2023-02-08 23:18:53 -0800
committerJosh Jones <kilauea.jones@gmail.com>2023-02-08 23:18:53 -0800
commit097f8a5fdb9b8fc5fc455356fab851439c06f35f (patch)
tree7aca3ae86e5f30786e962881c02061b86b041794 /modules/gdscript
parent2572f6800aef09bd6ea96f3b1c7a999a962eecb7 (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