Cant find an tutorial about this

Godot Version

4.3

Question

Is there any tutorial about making NPC randomly running around the map and try not to collide with wall ??

You can create a random-position inside the area you want the npc to move and then use the navigation-agent to avoid walls (For this you have to setup a navigation-mesh

ahh im still a newbie so i dont really know how that work. So would be cool if there is any tutorial video

Heres a tutorial for navmeshes:

you can just get a random_position and then use the pathfiniding to reach this point

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