Reputation: 30401
I am new to SceneKit, and I am trying to move nodes around the scene. How do I align a node to the node adjacent to it by making it 'snap into place'?
This is what it currently looks like when moving a node, it does not show ANY guide:
I do not want to manually change the values, as sometimes it shows multiple
, as well as this being inconvenient and slow:
I can see there is an ability to make the node align (I assume using the keyboard or in some settings?) as seen on the WWDC 2015 Enhancements to SceneKit at 6m 20s
.
Notice - it 'snaps' into place next to the other wooden box:
How am I able to achieve this? What other keyboard shortcuts/settings do I need to know? (I only know about the ⌥ (option)
key which duplicates nodes)
Did Apple use some 3rd-party app?
If you have any questions, please ask!
Upvotes: 0
Views: 416
Reputation: 13462
Snapping is enabled by holding the command key (⌘) while dragging the object.
Upvotes: 2