title: C# animation - move object from A to B or by angle
body: <p>Hi am just doing a little animation which moves an object from point a to point b or by angle/radians.</p>
  
  <p>what I currently have is this</p>
  
  <pre><code>Point CalcMove(Point pt, double angle, int speed)
      {
          Point ret = pt;
  
          ret.X = (int)(ret.X + speed * Math.Sin(DegToRad(angle)));
          ret.Y = (int)(ret.Y + speed * Math.Cos(DegToRad(angle)));
  
          return ret;
      }
  </code></pre>
  
  <p>but it doesn't look what i expected. </p>
  
  <p>please help?</p>
  
  <p>update: <br/>
  oh and am using <strong>NETCF</strong> <br/></p>
  
  <hr>
  
  <p>CalcMove(Point pt, double angle, int speed)<br/>"Point pt" is the current object location. "angle" is where the object should go. "speed" is the step. <br/></p>
  
  <hr>
  
  <p>so after days of work.. <br/>
  here's what I have worked on .. <a href="http://forum.xda-developers.com/showthread.php?t=705076" rel="nofollow noreferrer">Neko for Windows Mobile 6.5</a> </p>