NcEngine
nc::SpringSettings::Damping Struct Reference

Spring damping value hints. More...

#include <SpringSettings.h>

Static Public Attributes

static constexpr auto Undamped = 0.0f
 minimal energy loss, maximum oscillation (not completely lossless for stability)
 
static constexpr auto Underdamped = 0.5f
 some energy loss, moderate oscillation (underdamping applies when 0 < d < 1)
 
static constexpr auto Critical = 1.0f
 full energy loss, no oscillation
 
static constexpr auto Overdamped = 2.0f
 energy loss occurs even outside of oscillation (overdamping applies when d > 1)
 

Detailed Description

Spring damping value hints.


The documentation for this struct was generated from the following file: