Skip to content

Instantly share code, notes, and snippets.

@factoryhr
Created June 1, 2020 08:49
Show Gist options
  • Save factoryhr/a4d64dc4d4e69e6777b07c6837d0b85e to your computer and use it in GitHub Desktop.
Save factoryhr/a4d64dc4d4e69e6777b07c6837d0b85e to your computer and use it in GitHub Desktop.
func moveNode(node: SCNNode){
let moveAction = SCNAction.move(to: SCNVector3(0.1, 0.1, 0.1), duration: 0.25)
node.runAction(moveAction)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment