Waypoint

my enemy is not following waypoints. ı ve tried so many things. checking code or reseting waypoints position but it is not working. can you help me?

Hi,

Try to replace Vector2.MoveTowards with Vector3.MoveTowards in the EnemyPathing class. Did this fix it?


See also:

Unfortunately, it is not fixed. I did what you said btw.

What else did you try? Please let me know, so I don’t suggest it again.

Are there any error messages in your console?

sorry, my bad. I forgot the apply the changes at all prefabs :smiley: I am sorry again.

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

Privacy & Terms