O'Reilly logo

Swift Game Development - Third Edition by Stephen Haney, Siddharth Shekar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required