Path Issues

Hi. I’m having problems with paths in the “Laser Defender” section of the Untiy 2D course. During #117, as I was adding the new huge enemy, or “Big Boy” as Rick called it, I ran into problems with pathing. I noticed that moving the waypoints didn’t actually move them. So, if I moved a waypoint on the game canvas, it wouldn’t change where the enemy moved. The only way I could change it is if I went into the prefab itself and change the position of the waypoints from there. In addition, enemies have now started moving to the beginning of the path and stay there, even if I move them, they move back. I’m using Unity 2018.3.7f1. Does anyone know how to fix it and what may be the cause?

Hi,

Please make sure that the path, its children and the enemy have a z-position of 0.

1 Like

thank you!

You’re welcome. Did this fix it?

Yes, as far as I can tell, it did.

Great. :slight_smile:


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms