Unity NavMesh Area Costs and Agent Speeds Part 1
In this 3 part tutorial series I will show you how to setup up a basic sidewalk crowd scene with a street and crossings where the agents will stick to the sidewalk and only cross the street where they are allowed.
- Part 1 sets up the scene and explains area costs.
- Part 2 adds code to control the speed of the agent based on the corners it needs to take to stay on its path.
- Part 3 demonstrates how to change the cost of an area with code to sometimes allow agents to walk in areas where they couldn’t before.