Chapter 8. Positions, Movement and Navigation for Character GameObjects
In this chapter, we will cover:
Player control of a 2D GameObject (and limiting the movement within a rectangle)
Player control of a 3D GameObject (and limiting the movement within a rectangle)
Choosing destinations – find the nearest (or a random) spawn point
Choosing destinations – respawn to the most recently passed checkpoint
NPC NavMeshAgent to seek or flee destination while avoiding obstacles
NPC NavMeshAgent to follow waypoints in sequence
Controlling the object group movement through flocking