SmoothDampVector3.Update


Declaration

public override Vector3 Update(Vector3 target)

Description

Smoothes the current value to the target value.

Parameters

targetThe target value.

Returns

Vector3The 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

targetThe target value.
deltaTimeThe time since the last call to this function.

Returns

Vector3The new current value.