Tower Defense Spawning Problem

Godot Version

4.4

Question

I’m making a tower defense and you can see my main script in the images and what it’s connected too. But as the other picture shows when the enemy tanks spawn in they all follow each other rather than independently following the path. Any way to fix this?

All of your tanks are added to the same Pathfollow2D. The PathFollow2D node is in control of the movement since you are only modifying the progress_ratio

Try applying the script to the Path, have the PathFollow2D be a parent of the tank scene.


Make sure to paste code instead of screenshots

1 Like

I’ll try this once I get a bit more free time (my schedule the next few days is packed) and I’ll update you here, thanks!