GDQuest / godot-steering-ai-framework

A complete framework for Godot to create beautiful and complex AI motion. Works both in 2D and in 3D.
http://gdquest.com/docs/godot-steering-ai-framework
MIT License
1.15k stars 78 forks source link

The flee demo's bounds aren't drawn in the correct location #27

Closed NathanLovato closed 4 years ago

NathanLovato commented 4 years ago

I moved the collision boxes in the last commit, but the areas' drawing code doesn't take the boxes' position into account.

I'd recommend refactoring the code so there's only one area that draws the 4 rectangles

for i in get_children():
    draw_rectangle...