title: Play two animations together on Spinner
body: <p>I want to play moving and rotation animations on Spinner game object. For rotation I have used animator controller and for movement I have written code.</p>
  
  <p>Here is animator controller inspector settings for rotation:</p>
  
  <p><a href="https://i.stack.imgur.com/csRF7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/csRF7.png" alt="enter image description here"></a></p>
  
  <p>Here is the code that I have written for movement:</p>
  
  <pre><code>private void StartMoving()
  {
      iTween.MoveBy(gameObject, iTween.Hash("x", transformDistance, "time", 
          Random.Range(1.5f, 5f), "looptype", iTween.LoopType.pingPong, "easetype", 
          iTween.EaseType.linear, "delay", Random.Range(0f, 1f)));
  }
  </code></pre>
  
  <p>At present only movement related action, I am showing in game play, rotation completely get stopped. If I set Apply Root Motion flag to false then rotation animation start playing and movement get stopped.</p>
  
  <p>I want to play both animations together.</p>
  
  <p>Here you have spinner object details:</p>
  
  <p><a href="https://i.stack.imgur.com/QLgvd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QLgvd.png" alt="enter image description here"></a></p>