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.17k stars 81 forks source link

SeekFleeDemo does not detect Space input, does not switch between Seek and Flee #65

Open ReleeSquirrel opened 2 months ago

ReleeSquirrel commented 2 months ago

I'm submitting a...

Bug report

What is the current behavior? During the SeekFleeDemo the text says to press space to switch between Seek and Flee, but pressing space does nothing.

What is the expected behavior? Pressing space should switch between Seek and Flee behaviors.

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.

  1. Press space.
  2. Nothing changes.

Other

Other information

I went through the code and there's no code to handle space bar presses, and the space bar isn't set up in the Input Map. I imagine this demo wasn't finished and got forgotten.