UnityLearn - Beginner Programming - Swords and Shovels: Character Controller and AI - Pt. 03 - Finalizing and Extending Systems
Novemeber 21, 2019 Beginner Programming: Unity Game Dev Courses Beginner Programming: Unity Game Dev Courses Unity Learn Course - Beginner Programming Finalizing and Extending Systems Designing with NavMesh Obstacles This section just showed how obstacles work with NavMesh. Objects with colliders can be given NavMeshObstacle components to work as obstacles within the NavMesh. The Carve bool lets you determine if they "carve out" parts of the NavMesh to make them inaccessible for agents with NavMesh driven AI. Finishing the Patrol System The InvokeRepeating method has a delay paramter as well. This can be given various values between different objects so they are not all on the exact same cycle. This was used to offset the waypoint traveling cycles of the goblin NPCs. Fine Tuning the Agents and Animation The logic that was making the player character awkwardly slow down around the stairs and other obstacles is found within the obstacle avoidance pa...