Source Code Below. Please like and subscribe if you find this video useful!
In this unity tutorial we allow users to control a group of non-player character in the game using a mouse. The user can click on any point in the game environment and the character will use its built-in NavMeshAgent to navigate to that spot. The player will be able to move the character around the game world easier, and without manually coding its movements.
Source Code: https://gist.github.com/walterreid/bb...
#unity #unity3d #tutorial #gametutorial #games #navigation #source #sourcecode #mouse #movement