SmoothDampQuaternion

Inherits from SmoothDamp<T>

Declaration

[Serializable]
public class SmoothDampQuaternion : SmoothDamp<Quaternion>

Description

Gradually changes a Quaternion 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.