I mean i want to bake all the places in the space station and make the soldier to move automatic around the spaceship to random places.
What i did so far is placing the soldier at a start point. Added a camera as child to the soldier. Added a nav mesh agent component to the soldier.
Attached a script to the soldier: It's not my script. I don't want the soldier for now to chase only to walk randomly around the space station.
I didn't change any of the setting on the Nav Mesh Agent component in the inspector and i didn't
Should i change anything in the nav mesh agent component and if so what ?
How do select or set what areas to bake so the character will know to walk to this areas or if i want to select all the areas ?
How do i tell the character when to turn right or left in case there is a wall ? Could be also random to turn left or right. Depending if there is left and right ways or maybe there is also straight way so that's 3 possible ways to move to.
clicked the Bake button yet.
I didn't write yet the script.
public class SoldiersPatrol : MonoBehaviour