Moves the node according to getNextPosition, in absolute or relative coordinates depending on isAbsolute.