SCNScene is a part of the SceneKit Framework. An SCNScene object is a container for the node hierarchy and global properties that together form a displayable 3D scene.
Questions tagged [scnscene]
91 questions
3
votes
1 answer
SceneKit cloth physics - any solver available?
How can I create cloth physics in SceneKit?
Is there a native cloth solver solution? If not, is there any other solver I could integrate with SceneKit?
Thanks

Mane Manero
- 3,086
- 5
- 25
- 47
3
votes
2 answers
How can I create a 3D Grid in scenekit
how can I make a grid with 3d objects(box). I already know how to setup scnscene and how to create an object. But I don't know how to make the layout. The grid should look like this one, with 3d object in a 3D space.
Here's what I tried:
…

John
- 799
- 6
- 22
3
votes
2 answers
I have MDLAsset created from an SCNScene. How do I extract MDLMeshs, MDLCamera(s), and MDLLights?
I am struggling trying to traverse an MDLAsset instance created by loading an SCNScene file (.scn).
I want to identify and extract the MDLMeshs as well as camera(s) and lights. I see no direct way to do that.
For example I see this instance method…

dugla
- 12,774
- 26
- 88
- 136
2
votes
1 answer
ARKit Project: Unexpectedly found nil while unwrapping an Optional value
When I create an ArKit project on Xcode, the boilerplate project will not run and return an error that it cannot find the ship.scn asset.
Boiler-plate code for the SceneKit project:
import UIKit
import SceneKit
import ARKit
class…

Ted.Mosby
- 21
- 3
2
votes
0 answers
arkit showPhysicsShapes larger than node
I am using arkit and trying to have two node collide but the collisions appears to happen too early. When I do
ballsSceneView.debugOptions = .showPhysicsShapes
I see that the physic shape is larger than the actual node. Attached a photo
How can I…

Ros
- 144
- 8
2
votes
1 answer
iOS AR Kit 3 World Tracking stops working after switching cameras
I'm developing an AR Drawing app, and I encountered a bug/problem in AR Kit 3. World tracking stops working and the 3D objects added in the AR view are frozen.
My app switches between front and back camera, in both cases I'm enabling World…

c4b4d4
- 964
- 12
- 32
2
votes
0 answers
Load SCNScene from a remote server URL
I am trying to initialize or construct a SCNNode with the following code. It will pull the SCN file from the server and load it in the code. However, it seems like I cannot override the asset URL that it keeps searching for my texture file in…

AriesAntonio
- 21
- 2
2
votes
1 answer
How to rotate/scale/change coordinates of SCNNode programatically in ios
I want to put 3D Spectacles model in human's eye using face/eye detection and it should be movable as face moves like Snapchat does. I have loaded the 3D .obj model in view but I can not able to change the rotation angle, coordinates and zoom value…

Viral Mithani
- 313
- 4
- 17
2
votes
2 answers
Using Scenekit sceneTime to scrub through animations iOS
I'm trying to modify Xcode's default game setup so that I can: program an animation into the geometry, scrub through that animation, and let the user playback the animation automatically.
I managed to get the scrubbing of the animation to work by…

Dylan
- 31
- 5
2
votes
0 answers
SceneKit PBR - multiply albedo
I need to multiply a bitmap on top of an albedo/diffuse. I’m using PBR shading.
Ex: apply a tattoo (bitmap) on top a skin (albedo/diffuse), multiplying so you can see the tattoo overlaying the skin.
Question: this tattoo (bitmap) should be a second…

Mane Manero
- 3,086
- 5
- 25
- 47
2
votes
2 answers
Get All ARAnchors of focused Camera in ARKIT
When application launched first a vertical surface is detected on one wall than camera focus to the second wall, in the second wall another surface is detected. The first wall is now no more visible to the ARCamera but this code is providing me the…

Aasna Islam
- 33
- 5
2
votes
0 answers
ARKit : Make virtual 3D objects to point towards camera
I am trying to build an app based on ARKit to place 3D virtual objects on to the plane that is detected. I found a useful project on GitHub Placing Virtual Objects
This does the job exactly what I am looking for. However, when any virtual object is…

Venkatesh
- 3,558
- 8
- 32
- 38
2
votes
1 answer
Xcode scn file white screen
I deleted and reinstalled Xcode, but the problem was not resolved. I click on the scn file and it just opens a white page.

miragessee
- 313
- 1
- 4
- 14
2
votes
1 answer
SceneKit geometries look like a glitchy disaster
I'm messing around with SceneKit. I feel like I'm doing everything as instructed, but the animation I end up with looks like a glitchy mess. The geometries have this odd kind of shattered quality to them. Shapes that should be behind over shapes are…

Josh Knowles
- 395
- 4
- 19
1
vote
2 answers
How to move SCNNode within a SCNView using UITapGestureRecognizer?
I created a SCNView and want to use a UITapGestureRecognizer to move SCNNode's around the view; however, the code I implemented doesn't seem to be working. The nodes move sometimes, but they never move to the correct spot. Does anyone know what I am…

helloworld12345
- 176
- 1
- 4
- 22