var CatchSpeed = 50.0;
function Update ()
{
// Follows the target position like with a spring
transform.position = Vector3.MoveTowards(transform.position, LandingZone.transform.position, Time.deltaTime * CatchSpeed);
}
You can change the CatchSpeed to change how quickly the object moves. I'm sorry if this doesn't work exactly, having had no experience with iTween yet, but you should be able to manipulate this to your bidding.
↧