Navigation
BlueprintAPI > BlueprintAPI/Math > BlueprintAPI/Math/Spring > BlueprintAPI/Math/Spring/Experimental
Update the position of a character given a target velocity using a simple damped spring
Target is Blueprint Spring Math Library
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| vector | In Out Position | The position of the character |
| vector | In Out Velocity | The velocity of the character. Needs to be stored and persisted by the caller. Usually initialized to zero and not modified by the caller. |
| vector | In Out Acceleration | The acceleration of the character. Needs to be stored and persisted by the caller. Usually initialized to zero and not modified by the caller. |
| vector | Target Velocity | The target velocity of the character. |
| real | Delta Time | The delta time to tick the character |
| real | Smoothing Time | The time over which to smooth velocity. It takes roughly the smoothing time in order for the character to reach the target velocity. |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out |