Version: 2017.4
public static Vector2 SmoothDamp (Vector2 current, Vector2 target, ref Vector2 currentVelocity, float smoothTime, float maxSpeed, float deltaTime);

パラメーター

current現在位置
target目的地
currentVelocity現在の速度。この値は関数が呼び出されるたびに変更されます。
smoothTimetarget へ到達するまでのおおよその時間。値が小さいほど、target に速く到達します。
maxSpeedオプションとして、最大速度を制限することができます。
deltaTimeこの関数が最後に呼び出されてからの経過時間。デフォルトは Time.deltaTime 変数。

説明

目的地に向かって時間の経過とともに徐々にベクトルを変化させます

ベクトルはスプリングとダンパーのような機能によってスムーズ化されるので目的地を行き過ぎてしまうことはありません。