SceneKit editor modifying original item with changed item

In the SceneKit editor, if I copy a node using either copy-paste or drag-and-drop, the resulting node is somehow "linked" to the original. Attempting to modify this new node in any way other than position also changes the attributes of the original. This is infuriating, how do I "detach" the duplicated node from the original?

UPDATE: As requested, here is a video of the behavior I am describing: https://www.dropbox.com/s/vtcom4iejjdtjv0/SceneKit%20Weirdness.mov?dl=0

+3


source to share


1 answer


Apple docs

However, this also means that changes to objects bound to one node will affect other nodes that share the same attachments.

https://developer.apple.com/documentation/scenekit/scnnode/1408046-clone



When you copy a node in the editor, it actually makes a clone of node. I am not aware of the defaults for geometries, but if the geometry is specified as split then all similar clones will be changed when you change one of them.

In your case, you just need to click the Unshare button to allow the clones to use a separate copy of the geometry. Which will not be affected by other node changes.

+4


source







All Articles