title: How can I make SCNNode position animation move at a uniform rate?
body: <p>I have a game that I am animating in swift using scenekit and the provided animation framework, core animation.</p>
  
  <p>The problem I am having is that my animation is not smooth. Moving a node from point A to point B results in a small ramp up in move speed and a small ramp down when it gets close to the desired position. I wish for the speed to remain uniform throughout. This is a problem because my animations don't move very far and they happen frequently (2 per second + computational delay) resulting in it looking very jerky. </p>
  
  <p>So my question is, is there any way to make the animation speed uniform?</p>
  
  <p>Edit: Just for clarity I am using SCNTransaction. My code looks something like this: Half pseudocode </p>
  
  <pre><code>func simulate(){
      SCNTransaction.begin()
       SCNTransaction.setAnimationDuration(0.5)
      SCNTransaction.setCompletionBlock{
          //If no victory this simulate func is run again
          checkVictory()
      }
  
      for all gameObjects{
      object.position = calculateNewPos()
   }
   SCNTransaction.commit()
  
  }
  </code></pre>