SmoothDampVector3.Update
Method in SmoothDampVector3
Declaration
public override Vector3 Update(Vector3 target)Description
Smoothes the current value to the target value.
Parameters
| target | The target value. |
Returns
| Vector3 | The new current value. |
Overload
Declaration
public override Vector3 Update(Vector3 target, float deltaTime)Description
Smoothes the current value to the target value with the given delta time.
Parameters
| target | The target value. |
| deltaTime | The time since the last call to this function. |
Returns
| Vector3 | The new current value. |