So I’m working on a game and I’ve got player movement down and even a dialogue system. However since I’m still relatively new to scripting I haven’t been able to figure out how to get the npc’s to walk around on their own accord like set to a path or something.
I was wondering if anyone could help me out or would know of a hopefully cheap asset I could use? Thanks.
You can use navmesh system for npc movement I recommend brackeys video. Have a good day=)
*
The first thing you will need is a navigation mesh.
https://docs.unity3d.com/Manual/nav-BuildingNavMesh.html
Unity has some basic documentation that should be enough to get started with basic AI.
https://docs.unity3d.com/Manual/nav-AgentPatrol.html
Then it really comes down to you as a programmer to give life to the AI if you want them to be more than gameobjects moving from point A to B.
1 Like