- Home /
Answer by efge · Apr 18, 2011 at 11:45 PM
You could take a look at the reference for Vector3.Lerp:
var target : Transform; var smooth : float = 5.0;
transform.position = Vector3.Lerp (transform.position, target.position,Time.deltaTime * smooth);