Chapter 15. Introduction to Scenekit with ARKit

In the previous chapter, we saw how to integrate ARKit into Sprite. Although it is good for placing a game object in the real world, we also quickly saw the limitations of ARKit with SpriteKit, in that all the sprites are attached to a 2D plane and that plane will always look at the player. This removes the reality and makes the app look unnatural. In the real world, you don't see planes facing wherever you go. That's spooky.

With ARkit included with SceneKit, we can add 3D objects to a scene and look around the scene, and it will look as if the object is actually present in the real world. You can get real-world lighting information and make the objects have real-life lighting effects. Also, since ...

Get Swift Game Development - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.