Post

Replies

Boosts

Views

Activity

Is it possible to access a specific SceneKit node via its "ID" number
I am using SceneKit to make a type of block pushing game and I am trying to access a specific node that I interact with. I know I can use the nodes name but I am trying to access a specific node that has the same name as other reference nodes, its a pushable block that I need to make an array of its past movement so that I can undo the players actions. I have printed the nodes details to the console and each one has a unique "ID" <SCNNode: 0x6000039ef300 'wall' pos(0.000000 0.500000 4.000000) but I can't seem to then get access to the node using this "ID" I can't find this documented anywhere so I don't know if this is even possible.
0
0
487
Sep ’21
Xcode SceneKit scn files broken on Apple Silicon?
Is anybody able to move or manipulate nodes in a .scn file in Xcode on an Apple Silicon Mac without the scene going completely black? The only way to open the scene again is to restart Xcode. SceneKit development is now completely broken on an M1 Mac for me. I can zoom and rotate in the scene but as soon as I try to move a node the Xcode screen glitches and goes all black. I'm using Xcode Version 12.3 (12C33) on Big Sur 11.1 with a M1 MBP 16/512
3
0
1.5k
Dec ’20