Rapier C — 2D / f64 0.36.0+c.0
Loading...
Searching...
No Matches
R2SoftBodiesSettings Struct Reference

Plain configuration data; initialize defaults, edit, then apply. More...

#include <rapier.h>

Data Fields

struct R2SoftRecoverySettings recovery
 Soft-body crossing detection and recovery settings.
R2Real resweepStrain
 Strain threshold for re-solving soft constraints after contacts within a substep.
size_t maxExtraSubsteps
 Maximum additional substeps requested by soft-body motion.
R2Real contactStiffening
 Multiplier on contact natural frequency for soft-body contacts.
struct R2SoftFemParameters fem
 FEM linear-solver settings, present only when RAPIER_FEM is enabled.

Detailed Description

Plain configuration data; initialize defaults, edit, then apply.

No destructor.

Field Documentation

◆ contactStiffening

R2Real R2SoftBodiesSettings::contactStiffening

Multiplier on contact natural frequency for soft-body contacts.

◆ fem

struct R2SoftFemParameters R2SoftBodiesSettings::fem

FEM linear-solver settings, present only when RAPIER_FEM is enabled.

◆ maxExtraSubsteps

size_t R2SoftBodiesSettings::maxExtraSubsteps

Maximum additional substeps requested by soft-body motion.

◆ recovery

struct R2SoftRecoverySettings R2SoftBodiesSettings::recovery

Soft-body crossing detection and recovery settings.

◆ resweepStrain

R2Real R2SoftBodiesSettings::resweepStrain

Strain threshold for re-solving soft constraints after contacts within a substep.


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