Smoothing
class in Coherence.Interpolation
Provides smoothing using SmoothDamp for types: float, Vector2, Vector3 and Quaternion. Smoothing unlike ordinary interpolation, cannot be rewinded, so keep smoothing at a minimum for accurate hitbox rewind. Quaternion smoothing uses SmoothDampAngle for its three euler angles, which may cause a performance hit for large number of objects.
Constructors
| Smoothing |
Methods
| Smooth | Smoothly lerps the current value towards the target value. |
| SmoothDouble | |
| SmoothFloat | |
| SmoothQuaternion | |
| SmoothVector2 | |
| SmoothVector3 |