valentincognito
9/14/2017 - 10:42 AM

Lerp

Add a smooth effect to a transform position

transform.position = Vector3.Lerp(startPos, endPos, Time.deltaTime * speed);