Hi,
I don’t know in which lecture you are but is the EnemyPathing script attached to the enemy? If so, try to replace Vector2.MoveTowards with Vector3.MoveTowards in the EnemyPathing class.
See also:
- Forum User Guides : How to mark a topic as solved
Thank you, Nina, the problem is solved
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.