Smooth Step Vector3 code example
Example: Smooth Step Vector3
transform.position = Vector3( Mathf.SmoothStep(transform.position.x, randomPoint.x, speed * Time.deltaTime), Mathf.SmoothStep(transform.position.y, randomPoint.y, speed * Time.deltaTime), Mathf.SmoothStep(transform.position.z, randomPoint.z, speed * Time.deltaTime));