# 3D iOS Games by Tutorials

**URL:** https://forums.kodeco.com/c/books/3d-ios-games-by-tutorials/26.md

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

---

## [About the 3D iOS Games by Tutorials category](https://forums.kodeco.com/t/about-the-3d-ios-games-by-tutorials-category/9580)

<div class="topic-metadata">

**Author:** [@rwenderlich](https://forums.kodeco.com/u/rwenderlich)\
**Replies:** 13\
**Last updated:** [September 25, 2019, 5:50pm UTC](https://forums.kodeco.com/t/about-the-3d-ios-games-by-tutorials-category/9580 "2019-09-25T17:50:35Z")

</div>

These are the official forums for the 3D iOS ames by Tutorials, our book on making 3D iOS Games with Apple’s built-in Scene Kit API. This is the place to ask any questions you may have about the book. We hope you enjoy …

---

## [Current Xcode version and iOS version 18.x does not support 3D iOS games tutorials](https://forums.kodeco.com/t/current-xcode-version-and-ios-version-18-x-does-not-support-3d-ios-games-tutorials/207346)

<div class="topic-metadata">

**Author:** [@raghu](https://forums.kodeco.com/u/raghu)\
**Replies:** 1\
**Last updated:** [November 20, 2024, 5:22pm UTC](https://forums.kodeco.com/t/current-xcode-version-and-ios-version-18-x-does-not-support-3d-ios-games-tutorials/207346 "2024-11-20T17:22:12Z")

</div>

Dear team, I had posted this issue several times as mails to you and under different topic. The issue is that I had bought this 3D IOS games by tutorials in 2018. Since then several Xcode releases have come up along w…

---

## [Simultaneous Gestures](https://forums.kodeco.com/t/simultaneous-gestures/26798)

<div class="topic-metadata">

**Author:** [@cirrusbob](https://forums.kodeco.com/u/cirrusbob)\
**Replies:** 4\
**Last updated:** [January 25, 2023, 4:43am UTC](https://forums.kodeco.com/t/simultaneous-gestures/26798 "2023-01-25T04:43:54Z")

</div>

My goal was to have a 3D scene where you can rotate, pinch and laterally move the camera left/right and up/down without removing both fingers from the screen. So while you are pinching for example, you can lift just one …

---

## [What are some good resources for learning about augmented reality?](https://forums.kodeco.com/t/what-are-some-good-resources-for-learning-about-augmented-reality/154689)

<div class="topic-metadata">

**Author:** [@alice7890](https://forums.kodeco.com/u/alice7890)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 9:17am UTC](https://forums.kodeco.com/t/what-are-some-good-resources-for-learning-about-augmented-reality/154689 "2021-10-25T09:17:17Z")

</div>

If you seriously want to learn about augmented reality then you should try getting some hands-on experience. The practical knowledge will help you understand it better. The experiences that you can create by using AR tec…

---

## [New iOS Game - what you think?](https://forums.kodeco.com/t/new-ios-game-what-you-think/147005)

<div class="topic-metadata">

**Author:** [@mptaurus](https://forums.kodeco.com/u/mptaurus)\
**Replies:** 0\
**Last updated:** [August 28, 2021, 5:48am UTC](https://forums.kodeco.com/t/new-ios-game-what-you-think/147005 "2021-08-28T05:48:22Z")

</div>

Thanks to the great books and tutorials available on RayWenderlich, I designed a simple computer game for iOS - Mars vs Melon. I just wanted to test my programming skills. The game is available on AppStore, now the secon…

---

## [SceneKit: How to constrain movement of a node to one axis locally, not the entire world](https://forums.kodeco.com/t/scenekit-how-to-constrain-movement-of-a-node-to-one-axis-locally-not-the-entire-world/140198)

<div class="topic-metadata">

**Author:** [@ahromada](https://forums.kodeco.com/u/ahromada)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 4:49am UTC](https://forums.kodeco.com/t/scenekit-how-to-constrain-movement-of-a-node-to-one-axis-locally-not-the-entire-world/140198 "2021-05-17T04:49:56Z")

</div>

It’s very easy to prevent movement of a node in one axis (X, Y, or Z) being moved by other forces with an SCNTransformConstraint.positionConstraint in world space as follows: let zPosition = node.position.z let strafin…

---

## [Chapter7 Cameras](https://forums.kodeco.com/t/chapter7-cameras/114540)

<div class="topic-metadata">

**Author:** [@ve03vsx](https://forums.kodeco.com/u/ve03vsx)\
**Replies:** 2\
**Last updated:** [April 8, 2021, 5:27am UTC](https://forums.kodeco.com/t/chapter7-cameras/114540 "2021-04-08T05:27:27Z")

</div>

Hi I’m at the end of the chapter, my cameras are different then the ones in the final resource though. Its like mine are landscape and the ones in the final resource are portrait. I think this is what is stopping the H…

---

## [Making realistic flowing water with SceneKit, \[inside Xcode\]](https://forums.kodeco.com/t/making-realistic-flowing-water-with-scenekit-inside-xcode/29895)

<div class="topic-metadata">

**Author:** [@hacker\_link](https://forums.kodeco.com/u/hacker_link)\
**Replies:** 1\
**Last updated:** [January 8, 2021, 1:41am UTC](https://forums.kodeco.com/t/making-realistic-flowing-water-with-scenekit-inside-xcode/29895 "2021-01-08T01:41:18Z")

</div>

I need to make/animate flowing water in with sceneKit inside Xcode, but i can’t come up with anything except a variation of the fire particle system \[with some attributes changed {color to blue, birth rate up real high, …

---

## [SCNPhysicsContactDelegate methods not being called](https://forums.kodeco.com/t/scnphysicscontactdelegate-methods-not-being-called/19401)

<div class="topic-metadata">

**Author:** [@dls1138](https://forums.kodeco.com/u/dls1138)\
**Replies:** 2\
**Last updated:** [November 30, 2020, 9:52am UTC](https://forums.kodeco.com/t/scnphysicscontactdelegate-methods-not-being-called/19401 "2020-11-30T09:52:50Z")

</div>

Hi there. Just bought the book a few days ago- mostly because I was mainly interested in Scenekit physics. I took a dive into Chapter 10 because it covers exactly what I was hoping to learn- how to make sense of the bitm…

---

## [3D iOS Games by... is truly an outstanding Tutorial](https://forums.kodeco.com/t/3d-ios-games-by-is-truly-an-outstanding-tutorial/112606)

<div class="topic-metadata">

**Author:** [@udrop](https://forums.kodeco.com/u/udrop)\
**Replies:** 1\
**Last updated:** [July 7, 2020, 3:50pm UTC](https://forums.kodeco.com/t/3d-ios-games-by-is-truly-an-outstanding-tutorial/112606 "2020-07-07T15:50:42Z")

</div>

It is really well-written, and contains tons of really useable information about SceneKit. Thanks!

---

## [TexrtField in SceneKit](https://forums.kodeco.com/t/texrtfield-in-scenekit/101626)

<div class="topic-metadata">

**Author:** [@boulomiel](https://forums.kodeco.com/u/boulomiel)\
**Replies:** 1\
**Last updated:** [April 1, 2020, 6:15am UTC](https://forums.kodeco.com/t/texrtfield-in-scenekit/101626 "2020-04-01T06:15:23Z")

</div>

Hey guys ! After studying the book, i have finally made my own game. Though I would like to add a UITextfield, so the player can save his score under a nickname that will be uploaded on a database. I know it’s possibl…

---

## [Apple Removed SceneKit Particle System Templates (.scnp) in Xcode 11](https://forums.kodeco.com/t/apple-removed-scenekit-particle-system-templates-scnp-in-xcode-11/91792)

<div class="topic-metadata">

**Author:** [@jvx242](https://forums.kodeco.com/u/jvx242)\
**Replies:** 3\
**Last updated:** [March 28, 2020, 7:20pm UTC](https://forums.kodeco.com/t/apple-removed-scenekit-particle-system-templates-scnp-in-xcode-11/91792 "2020-03-28T19:20:41Z")

</div>

I wanted to let everyone know that version 11 of Xcode does not permit generation of new SceneKit Particle System files (.scnp). There is apparently no explanation for this from Apple. Fortunately, you can find the rel…

---

## [SceneKit Book - Important question to the authors](https://forums.kodeco.com/t/scenekit-book-important-question-to-the-authors/77827)

<div class="topic-metadata">

**Author:** [@danieleciti](https://forums.kodeco.com/u/danieleciti)\
**Replies:** 1\
**Last updated:** [August 22, 2019, 5:20am UTC](https://forums.kodeco.com/t/scenekit-book-important-question-to-the-authors/77827 "2019-08-22T05:20:51Z")

</div>

Hello, I bought your SceneKit book and I’ve found it very interesting! I have a small question about the chapter 19 - Transitions. In this chapter you use an SKTransition object to switch between 2 scn scenes, and you us…

---

## [Gameplaykit - Randomness](https://forums.kodeco.com/t/gameplaykit-randomness/77075)

<div class="topic-metadata">

**Author:** [@praxon48](https://forums.kodeco.com/u/praxon48)\
**Replies:** 1\
**Last updated:** [August 22, 2019, 2:08am UTC](https://forums.kodeco.com/t/gameplaykit-randomness/77075 "2019-08-22T02:08:39Z")

</div>

Does any body knows if Gameplaykit can generate “truly random numbers”, not pseudo random numbers? Thank you in advance for any information.

---

## [Move a node when touchesEnded called, as input touches during touchesMoved - Scenekit!](https://forums.kodeco.com/t/move-a-node-when-touchesended-called-as-input-touches-during-touchesmoved-scenekit/70160)

<div class="topic-metadata">

**Author:** [@g4shi](https://forums.kodeco.com/u/g4shi)\
**Replies:** 1\
**Last updated:** [July 9, 2019, 12:59am UTC](https://forums.kodeco.com/t/move-a-node-when-touchesended-called-as-input-touches-during-touchesmoved-scenekit/70160 "2019-07-09T00:59:16Z")

</div>

Hi everyone! I want to move a node when touchesEnded called, as input touches during touchesMoved. So I want to create a path for a node during touchesMoved, and move that node in touchesEnded. I can move the node on to…

---

## [Why not contain Skeletal animation here](https://forums.kodeco.com/t/why-not-contain-skeletal-animation-here/63598)

<div class="topic-metadata">

**Author:** [@fanjianrong](https://forums.kodeco.com/u/fanjianrong)\
**Replies:** 1\
**Last updated:** [March 12, 2019, 4:29pm UTC](https://forums.kodeco.com/t/why-not-contain-skeletal-animation-here/63598 "2019-03-12T16:29:28Z")

</div>

Hi， “3D IOS Games by Tutorials” is very helpful for me, but I can’t find any Skeletal animation here. Is there Any other place to introduce?

---

## [Chapter 9 Challenge: Unshare Geometry Problem](https://forums.kodeco.com/t/chapter-9-challenge-unshare-geometry-problem/38514)

<div class="topic-metadata">

**Author:** [@abempor](https://forums.kodeco.com/u/abempor)\
**Replies:** 4\
**Last updated:** [February 10, 2019, 9:47am UTC](https://forums.kodeco.com/t/chapter-9-challenge-unshare-geometry-problem/38514 "2019-02-10T09:47:05Z")

</div>

When I try to duplicate the bricks and I change their colors (after unsharing them as the book told) it doesn’t work. All the other bricks change to the same color. It seems that the “unshare” function doesn’t work. If …

---

## [Chapter 22 (Advanced Collisions)](https://forums.kodeco.com/t/chapter-22-advanced-collisions/58788)

<div class="topic-metadata">

**Author:** [@thechurchofsam](https://forums.kodeco.com/u/thechurchofsam)\
**Replies:** 6\
**Last updated:** [February 6, 2019, 5:07am UTC](https://forums.kodeco.com/t/chapter-22-advanced-collisions/58788 "2019-02-06T05:07:53Z")

</div>

After completing this chapter, my pig (which I changed to a cat using MagicaVoxel and imported it), can still pass through trees, buses, and cars. I’ve tried Xcode 9 and 10, and it won’t work. Any solutions?

---

## [Hey, look at the product I developed. I will sell it now, very perfect!](https://forums.kodeco.com/t/hey-look-at-the-product-i-developed-i-will-sell-it-now-very-perfect/61081)

<div class="topic-metadata">

**Author:** [@haozx](https://forums.kodeco.com/u/haozx)\
**Replies:** 2\
**Last updated:** [January 31, 2019, 6:27am UTC](https://forums.kodeco.com/t/hey-look-at-the-product-i-developed-i-will-sell-it-now-very-perfect/61081 "2019-01-31T06:27:21Z")

</div>

Hey, look at the product I developed. I will sell it now, very perfect! https://goo.gl/FXtMWy

---

## [MrPig memory issue](https://forums.kodeco.com/t/mrpig-memory-issue/58317)

<div class="topic-metadata">

**Author:** [@hemppa](https://forums.kodeco.com/u/hemppa)\
**Replies:** 6\
**Last updated:** [January 29, 2019, 6:08am UTC](https://forums.kodeco.com/t/mrpig-memory-issue/58317 "2019-01-29T06:08:15Z")

</div>

It seems that every time MrPig gets hit by a bus and a new round is launched, reserved memory increases roughly by 200MB which eventually will crash the application after few rounds once reserved memory reaches approxima…

---

## [Chapter 23 Bank coins issue](https://forums.kodeco.com/t/chapter-23-bank-coins-issue/60743)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 1\
**Last updated:** [January 27, 2019, 6:24am UTC](https://forums.kodeco.com/t/chapter-23-bank-coins-issue/60743 "2019-01-27T06:24:53Z")

</div>

Hi, The code: if contactNode.physicsBody?.categoryBitMask == BitMaskHouse { print("House collision happens") } never executes, so coins can’t be banked. Issue also happens on last chapter and bug-fix versions

---

## [Chapter 21, SCNAction reference or value](https://forums.kodeco.com/t/chapter-21-scnaction-reference-or-value/59521)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 3\
**Last updated:** [January 12, 2019, 6:10am UTC](https://forums.kodeco.com/t/chapter-21-scnaction-reference-or-value/59521 "2019-01-12T06:10:48Z")

</div>

Hi, In Chapter 21 in Coded actions we do: var driveLeftAction: SCNAction! var driveRightAction: SCNAction! driveLeftAction = SCNAction.repeatForever(SCNAction.move(by: SCNVector3Make(-2.0, 0, 0), duration: 1.0)) driv…

---

## [Chapter 20 Directional light](https://forums.kodeco.com/t/chapter-20-directional-light/59159)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 2\
**Last updated:** [January 10, 2019, 10:40pm UTC](https://forums.kodeco.com/t/chapter-20-directional-light/59159 "2019-01-10T22:40:01Z")

</div>

Hi, In Chapter 20 after adding Directional light I see the shadow of the MrPig at any place of the floor and no matter where Directional light is placed. So I could not understand why lightFollowNode need to follow MrP…

---

## [Using custom Camera class in SceneKit](https://forums.kodeco.com/t/using-custom-camera-class-in-scenekit/59071)

<div class="topic-metadata">

**Author:** [@michielkramer](https://forums.kodeco.com/u/michielkramer)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 10:16pm UTC](https://forums.kodeco.com/t/using-custom-camera-class-in-scenekit/59071 "2019-01-09T22:16:22Z")

</div>

Hey, I am stuck on something and could use some help… I have created a custom Camera class, I would like to add this class to my ViewController so I can load the same camera for all my levels. I define the class as fo…

---

## [Chapter 15. Back motion not working](https://forums.kodeco.com/t/chapter-15-back-motion-not-working/59033)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 3\
**Last updated:** [January 5, 2019, 3:37pm UTC](https://forums.kodeco.com/t/chapter-15-back-motion-not-working/59033 "2019-01-05T15:37:15Z")

</div>

Hi, After completing “Motion control” on Chapter 15: «you can control the ball simply by tilting the device left, right, forward and back.» In my case works only left, right and forward motion. When I move phone back,…

---

## [Chapter 12 Pillar top texture](https://forums.kodeco.com/t/chapter-12-pillar-top-texture/58831)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 4:47pm UTC](https://forums.kodeco.com/t/chapter-12-pillar-top-texture/58831 "2019-01-02T16:47:29Z")

</div>

Hi, Could you please help, I don’t understand, hot to do the top texture of the pillar the same as the sides? (Screenshot attached)

---

## [Chapter 10 Collision Mask](https://forums.kodeco.com/t/chapter-10-collision-mask/58697)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 3\
**Last updated:** [January 1, 2019, 7:43am UTC](https://forums.kodeco.com/t/chapter-10-collision-mask/58697 "2019-01-01T07:43:54Z")

</div>

Hi, Why in Chapter 10, Collision Mask for Ball we set to -1 value and not to 0 or 1?

---

## [Ch 10: Ball and Barrier Bugs](https://forums.kodeco.com/t/ch-10-ball-and-barrier-bugs/18300)

<div class="topic-metadata">

**Author:** [@keydogg](https://forums.kodeco.com/u/keydogg)\
**Replies:** 4\
**Last updated:** [December 27, 2018, 10:44am UTC](https://forums.kodeco.com/t/ch-10-ball-and-barrier-bugs/18300 "2018-12-27T10:44:58Z")

</div>

I completed chapter 10 and found some issues with the ball and barriers when testing on a device (iPhone 6s). I reduced the ball’s velocity to 2.5 to slow things down a bit and ran across the following. 1: Sometimes the…

---

## [\[SceneKit\] Error: Physically based lighting model is not supported](https://forums.kodeco.com/t/scenekit-error-physically-based-lighting-model-is-not-supported/58280)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 1\
**Last updated:** [December 24, 2018, 9:36am UTC](https://forums.kodeco.com/t/scenekit-error-physically-based-lighting-model-is-not-supported/58280 "2018-12-24T09:36:01Z")

</div>

Hi, I start reading “3D Apple Games by Tutorials” book. During executing all exercises I got messages in Xcode: “\[SceneKit\] Error: Physically based lighting model is not supported by the OpenGL renderer, using Phong in…

---

## [MagicaVoxel only gives me a black screen](https://forums.kodeco.com/t/magicavoxel-only-gives-me-a-black-screen/21316)

<div class="topic-metadata">

**Author:** [@kvebeeck](https://forums.kodeco.com/u/kvebeeck)\
**Replies:** 3\
**Last updated:** [December 13, 2018, 6:44pm UTC](https://forums.kodeco.com/t/magicavoxel-only-gives-me-a-black-screen/21316 "2018-12-13T18:44:44Z")

</div>

hello since i read the book before the update i went straight to the chapter i was interested in this was Mr. Pig, wel, to the chapter of making the voxel art but after downloading MagicaVoxel and opening it i only ge…

[Next page](https://forums.kodeco.com/c/books/3d-ios-games-by-tutorials/26.md?page=1)
