NcEngine
nc::Suspension Struct Reference

Suspension settings for a wheel assembly. More...

#include <Vehicle.h>

Public Member Functions

auto HasRollBar () const -> bool
 

Static Public Member Functions

static auto MakeDisabled () -> Suspension
 

Public Attributes

float minLength = 0.01f
 minimum offset from wheel position [units: m, range: >= 0]
 
float maxLength = 0.7f
 maximum offset from wheel position [units: m, range: > minLength]
 
SpringSettings spring {1.5f, 0.5f}
 suspension spring settings [range: frequency > 0, damping >= 0]
 
float antiRollBarStiffness = 0.0f
 anti-roll bar spring stiffness; ignored for single-wheels; immutable after construction [units: N/m, range: >=0]
 

Detailed Description

Suspension settings for a wheel assembly.


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