April 2021
Beginner to intermediate
506 pages
11h 57m
English
Pathfinding is a big topic, so it won’t be possible to cover everything. However, this section aims to give you enough information to get started with it.
You started this project in Configure the View and Load the Scene, in which you were instructed to pay little attention to the GameplayKit-related code, including the GKScene’s graphs property.
The graphs property contains the list of the pathfinding graph objects managed by the scene, in other words, the navigation graphs you add to the scene using the Scene Editor.
At the moment, your scene doesn’t contain any navigation graphs, so the first step is to add one and to learn how the Navigation Graph Editor works.
Switch to ...
Read now
Unlock full access