Translatina a view using CGAffineTransformMakeTranslation method in iphone dev SDK
<p>Hi
I am using a CGAffineTransformMakeTranslation method to move a ball from one place to other.
But here my question is can i use it to move ball multiple times to different location and then moving back to its original place is right method?</p>

<p>for example i move a ball from pos A(3,3) to pos B(11,15) and then i move it to C(28,67).
Now i want to know if i try to move ball from pos C to A will the below code work and is this the correct way to animate?</p>

<pre><code>[UIView beginAnimations:@"TouchAnimation" context:NULL];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationDelegate:self];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
[UIView setAnimationDuration:0.60];

r_ball[i].rball.transform = CGAffineTransformMakeTranslation(point3.x-point1.x,point3.y-point1.y);
</code></pre>
