title: How to get Angle of velocity to rotate a bullet?
body: <p>I have this:</p>
  
  <pre><code>CGPoint vel = hudLayer.rightJoystick.velocity;
  
              CCBullet* sp = [CCBullet spriteWithFile:@"green.png"];
              sp.position = player.position;
              [self addChild:sp z:-10];
  
              vel = ccpMult(ccpNormalize(vel), 300);
  sp.rotation = //how to get the rotation out of the velocity?
  </code></pre>
  
  <p>Any help?</p>