Reputation: 75
I can't figure out how to attach my particle emitter to a node in my scene using the Xcode editor. The documentation says 'You can attach a particle system to a node in the Xcode scene editor to preview the particle system in your scene.'
I know how to do this programatically, but can't figure out how to do it inside of the editor. Is this possible?
Upvotes: 2
Views: 1383
Reputation: 13462
In the Xcode SceneKit Scene Editor you can open the Object Library (⌃⌥⌘3) and drag a particle system from there to the scene.
You can also use the Scene Graph View on the left of the editor, select a node, and then use the contextual menu (right click) or gear icon in the toolbar at the bottom to add a particle system to an existing node.
Upvotes: 3
Reputation: 789
If I'm not mistaken, it is only possible to do that programmatically. The editor's features are lacking, and the majority of customizations for any element need to be done programmatically.
But you already know how, so you're golden!
Upvotes: 3