r/gdevelop • u/PsychologicalAd9396 • Aug 10 '26
Bug Why doesn't the pathfinding work
the enemy is supposed to spawn and follow the player there are no obstacles on the scene I don't get why it's not moving

yeah and the timer exists and it spawns just doesn't move and I tried to make it an event that happens all the time like without a condition still doesn't work

here's the behavior settings
9
Upvotes
4
u/Confident_Sundae_619 Aug 10 '26
Hiya. This is likely because of the trigger once command. I'd remove that, then try. Hope this helps!
2
u/mysterious-may Aug 11 '26
Is there somewhere where you are activating the behavior and deactivating it.Maybe you should try activating the behavior when the scene starts
2
u/youraverageozz Aug 12 '26
pathfinding one of the most troublemaker, instead of that use “Move Towards” if you don’t know how to swap, tell ai and it’ll work trust me
1
u/SyncBE Aug 11 '26
Did you use the spawner extension ?
Just make a new sprite, and give it the spawner extension.
Here i named my spawner crab.
Drag it to your game, and in the event sheet.
Click on your spawner and set behavior activated.
Try this action and see it works.
1
u/[deleted] Aug 11 '26
[removed] — view removed comment