In this chapter, you’ll learn how SceneKit uses the scene graph to render the objects in the scene. Once you have an understanding of the scene graph, you’ll then see how to use the built-in models from SceneKit. You’ll use the models to make obstacles in your game for the hero to avoid and for the enemy to hide behind.
Scene Graph
Basically, the scene graph The SCNScene is the base for a tree structure of the scene graph, as shown in Figure 11-1. In the early days of graphic programming, ...