In SpriteKit, it's possible to move nodes by directly setting their velocity
property.
This doesn't seem to work in SceneKit, however. Setting velocity
-- both in game loop callbacks and outside of game loop functions -- seems to have no effect.
This answer from one of the Apple SceneKit engineers suggests accessing the velocity property is only possible during a game loop callback like updateAtTime
.
So clearly there are limitations around the velocity
property.
Is controlling the property directly not possible with SCNNodes?