interpolate movement unity code example
Example: unity lerp position
transform.position = Vector3.Lerp(transform.position, myTargetPosition.position, speed * Time.deltaTime);
transform.position = Vector3.Lerp(transform.position, myTargetPosition.position, speed * Time.deltaTime);