|
NcEngine
|
Settings for softening constraints with a spring-damper. More...
#include <SpringSettings.h>
Classes | |
| struct | Damping |
| Spring damping value hints. More... | |
| struct | Frequency |
| Spring frequency value hints. More... | |
Public Attributes | |
| float | frequency = Frequency::Disabled |
| oscillation rate in hertz [0, targetFPS / 2] | |
| float | damping = Damping::Undamped |
| oscillation decay [0, 1] (typical max is 1, but larger values are allowed) | |
Settings for softening constraints with a spring-damper.