Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/SpringMath
Description
Estimates an approximate spring smoothing time from a stopping time and velocity for a character using a simple damped spring. Assumes the initial acceleration is zero.
| Name | SpringCharacterSmoothingTimeFromStoppingTime |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/SpringMath.h |
| Include Path | #include "Math/SpringMath.h" |
static float SpringCharacterSmoothingTimeFromStoppingTime
(
const float InitialVelocity,
const float StoppingTime,
const float VelocityThreshold
)