Улучшен поиск путей
This commit is contained in:
parent
3e60215e11
commit
26cc09241f
8 changed files with 107 additions and 18 deletions
|
@ -27,5 +27,10 @@ shape = SubResource("CircleShape2D_v67co")
|
|||
position = Vector2(-2, 0)
|
||||
shape = SubResource("CircleShape2D_smr3g")
|
||||
|
||||
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
|
||||
avoidance_enabled = true
|
||||
debug_use_custom = true
|
||||
debug_path_custom_color = Color(0, 0, 1, 1)
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="_OnEntered"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="_OnExited"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue