I did a test myself to see how can I make an object follow another object with smoothing.
Here’s the code:
using UnityEngine;
using System.Collections;
public class TransformSmooth : MonoBehaviour
{
public Transform target;
public float smoothing = 1f;
void Start ()
{
}
void Update ()
{
transform.position = Vector3.Lerp(transform.position, target.position, smoothing * Time.deltaTime);
}
}