title: Box2D / cocos2d animation to a point with rotation
body: <p>I'm pretty new to Box2D and cocos2d. I'm trying to do something which I thought would be pretty simple, but it is turning out to be more difficult than I had expected and I cannot find a working answer anywhere. </p>
  
  <p>Basically, I want to move a b2body and rotate it to a certain point with animation. </p>
  
  <p>I can get it to the correct position and rotation with:</p>
  
  <pre><code>targetBody-&gt;SetTransform(b2Vec2(10.0f,1.0f),10);
  </code></pre>
  
  <p>But I have no idea how to animate it there over time. I tried using cocos2d animation on the sprite used for the body, but that doesn't do anything. Any ideas? </p>