I'm trying to use an ARView in a macOS-only project. I can load a scene (tested with a Reality file from Reality Composer), and it renders fine. But how do I co
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 spa
Recently I updated my Xcode to 11.3.1. But while working with SceneKit, I found that I can't create a particle system file. Before After How can I create a
I've been looking for an answer to whether ARKit, specifically ARSCNView, shows the same screen/view/scene size on all devices. I only have an iPhone XS so I am
We were able to have custom raycasting using bitmasks: let hitTest = sceneView.hitTest(location, options: [categoryBitMask: bitmask]) But hitTest is deprecated
I have a directory containing an obj, mtl, and the textures. If I do let asset = MDLAsset(url: url) then it loads the mesh, but no textures. Now, if I go rename
I have added 3d object to scene view scene which is in dae format. But its moving along with camera. How to fix it to a particular position. Same code works wit
Is it possible to programmatically export 3D mesh as .usdz file format using ModelIO and MetalKit frameworks? Here's a code: import ARKit import RealityKit impo
I am getting animation from a scene file with func animationFromSceneNamed(path: String) -> SCNAnimationPlayer? { let scene = SCNScene(named: path)
At WWDC 2019, Apple announced that it was now handling HEVC with Alpha in iOS, and state that it could be used in SceneKit. I've been trying for hours to make
We built an iOS app to render 3D objects using Scene kit. We are plotting based upon coordinates(Vertices) received and populating our scene view inside Table c
I am working on a scene with a character and a platform with a stairs. Character must move up and down of the stairs and jump from the platform: I move charac
In my project I am projecting 3d files using ARKit. I am able to project .dae and .obj format models. Is there anyway I could load .fbx files?
I'm creating multiple nodes automatically and I want to arrange them around me, because at the moment I'm just increasing of 0.1 the current X location. capsu
I am pretty new to Swift, and SceneKit, and my current problem is that the custom shape I am trying to create is not showing up, even though the primitive shape
I'm trying to make a hexagon grid with triangles without altering any pivot points, but I can't seem to position the triangles correctly to make single hexagon.
Screenshot #1 shows a simple SceneKit scene with only an ambient light (explicitly added, not the default one). Screenshot #2 shows what happens after adding a
My Swift code below uses func touchesBegan to place a SCN object in the ARKit view. The problem is – it's only placing the object one time. I would like t
I want to present some scene with PBR. I created metalness and roughness textures and want to apply it to the mesh. When I try to do it in Xcode - everything is
I'm trying to use SceneKit to develop a game for tvOS, and I'm having an issue. When I set the node's eulerAngle before apply an impulse to the physicsBody the