SmoothDampVector3

Inherits from SmoothDamp<T>

Declaration

[Serializable]
public class SmoothDampVector3 : SmoothDamp<Vector3>

Description

Gradually changes a Vector3 over time using a spring-damper function, which will never overshoot.

Methods

UpdateSmoothes the current value to the target value.
Inherited

Properties

smoothTimeApproximately the time it will take to reach the target. A smaller value will reach the target faster.
maxSpeedOptionally allows you to clamp the maximum speed.