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

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

#include <rapier.h>

Data Fields

R3Bool authoredVelocityMargin
 Expand speculative contact margins to cover particle velocities set between steps.
R3Bool edgeSpeculation
 Enable speculative edge-edge collision constraints.
R3Bool invertedCellDetection
 Detect inverted cells to support self-contact recovery.
R3Bool selfCrossingDetection
 Detect surface self-crossings each step.
R3Bool detectionMotionGating
 Skip self-crossing detection when accumulated motion cannot have created a crossing.
R3Bool crossBodyDetection
 Detect boundary crossings between soft bodies.
R3Bool selfStandDown
 Disable contacts on tangled features so elasticity can untangle them.
R3Bool crossBodyExpelGate
 Allow contacts at cross-body crossings to expel, but not hold, the intruder.
R3Bool edgeStandDown
 Disable edge constraints touching cross-body crossings.
R3Bool crossingRepulsion
 Repel crossing features toward their neighborhood's side of the surface.
R3Bool crossingRepulsionGuide
 Guide cross-body repulsion by overlap-volume normals; closed meshes only.
R3Bool crossingRepulsionSelfGuide
 Guide self-crossing repulsion by self-intersection-volume normals; closed meshes only.
R3Real recoveryPace
 Maximum recovery rate in length units per second, scaled by lengthUnit.
R3Bool overlapConstraints
 Enable intersection-volume constraints for overlapping closed surfaces.
R3Bool overlapRigid
 Enable intersection-volume constraints against rigid colliders.
R3Bool overlapSkipSelfTangled
 Skip pair overlap constraints for self-crossed meshes.
R3Bool overlapEdgeStandDown
 Disable 3D closed-surface edge constraints where overlap constraints take over.
R3Real overlapConstraintPace
 Velocity-change limit per step, as a multiple of recoveryPace.
uint32_t overlapPatchConstraints
 Per-point constraints inside overlap patches: R3_SOFT_PATCH_CONSTRAINTS_KEEP, _STAND_DOWN or _ALONG_NORMAL.
R3Bool overlapSkinVolume
 Measure overlap on contact-skin surfaces rather than bare geometry.
R3Real overlapKeptDepth
 Overlap depth retained by recovery, as a fraction of the pair's contact skins.
R3Bool overlapSelfRegions
 Enable recovery of self-intersection regions.
R3Bool overlapNormalPush
 Use the overlap normal for recovery pushes.
R3Bool overlapMultiVolume
 Use spatially split overlap-volume constraints.
uint32_t overlapSplit
 Cells per tangent axis of the multi-volume grid.
uint32_t overlapPatience
 Recovery progress patience in steps.
R3Real overlapProgressMargin
 Relative overlap-volume decrease that counts as recovery progress.

Detailed Description

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

No destructor.

Field Documentation

◆ authoredVelocityMargin

R3Bool R3SoftRecoverySettings::authoredVelocityMargin

Expand speculative contact margins to cover particle velocities set between steps.

◆ crossBodyDetection

R3Bool R3SoftRecoverySettings::crossBodyDetection

Detect boundary crossings between soft bodies.

◆ crossBodyExpelGate

R3Bool R3SoftRecoverySettings::crossBodyExpelGate

Allow contacts at cross-body crossings to expel, but not hold, the intruder.

◆ crossingRepulsion

R3Bool R3SoftRecoverySettings::crossingRepulsion

Repel crossing features toward their neighborhood's side of the surface.

◆ crossingRepulsionGuide

R3Bool R3SoftRecoverySettings::crossingRepulsionGuide

Guide cross-body repulsion by overlap-volume normals; closed meshes only.

◆ crossingRepulsionSelfGuide

R3Bool R3SoftRecoverySettings::crossingRepulsionSelfGuide

Guide self-crossing repulsion by self-intersection-volume normals; closed meshes only.

◆ detectionMotionGating

R3Bool R3SoftRecoverySettings::detectionMotionGating

Skip self-crossing detection when accumulated motion cannot have created a crossing.

◆ edgeSpeculation

R3Bool R3SoftRecoverySettings::edgeSpeculation

Enable speculative edge-edge collision constraints.

◆ edgeStandDown

R3Bool R3SoftRecoverySettings::edgeStandDown

Disable edge constraints touching cross-body crossings.

◆ invertedCellDetection

R3Bool R3SoftRecoverySettings::invertedCellDetection

Detect inverted cells to support self-contact recovery.

◆ overlapConstraintPace

R3Real R3SoftRecoverySettings::overlapConstraintPace

Velocity-change limit per step, as a multiple of recoveryPace.

◆ overlapConstraints

R3Bool R3SoftRecoverySettings::overlapConstraints

Enable intersection-volume constraints for overlapping closed surfaces.

◆ overlapEdgeStandDown

R3Bool R3SoftRecoverySettings::overlapEdgeStandDown

Disable 3D closed-surface edge constraints where overlap constraints take over.

◆ overlapKeptDepth

R3Real R3SoftRecoverySettings::overlapKeptDepth

Overlap depth retained by recovery, as a fraction of the pair's contact skins.

◆ overlapMultiVolume

R3Bool R3SoftRecoverySettings::overlapMultiVolume

Use spatially split overlap-volume constraints.

◆ overlapNormalPush

R3Bool R3SoftRecoverySettings::overlapNormalPush

Use the overlap normal for recovery pushes.

◆ overlapPatchConstraints

uint32_t R3SoftRecoverySettings::overlapPatchConstraints

Per-point constraints inside overlap patches: R3_SOFT_PATCH_CONSTRAINTS_KEEP, _STAND_DOWN or _ALONG_NORMAL.

◆ overlapPatience

uint32_t R3SoftRecoverySettings::overlapPatience

Recovery progress patience in steps.

◆ overlapProgressMargin

R3Real R3SoftRecoverySettings::overlapProgressMargin

Relative overlap-volume decrease that counts as recovery progress.

◆ overlapRigid

R3Bool R3SoftRecoverySettings::overlapRigid

Enable intersection-volume constraints against rigid colliders.

◆ overlapSelfRegions

R3Bool R3SoftRecoverySettings::overlapSelfRegions

Enable recovery of self-intersection regions.

◆ overlapSkinVolume

R3Bool R3SoftRecoverySettings::overlapSkinVolume

Measure overlap on contact-skin surfaces rather than bare geometry.

◆ overlapSkipSelfTangled

R3Bool R3SoftRecoverySettings::overlapSkipSelfTangled

Skip pair overlap constraints for self-crossed meshes.

◆ overlapSplit

uint32_t R3SoftRecoverySettings::overlapSplit

Cells per tangent axis of the multi-volume grid.

◆ recoveryPace

R3Real R3SoftRecoverySettings::recoveryPace

Maximum recovery rate in length units per second, scaled by lengthUnit.

◆ selfCrossingDetection

R3Bool R3SoftRecoverySettings::selfCrossingDetection

Detect surface self-crossings each step.

◆ selfStandDown

R3Bool R3SoftRecoverySettings::selfStandDown

Disable contacts on tangled features so elasticity can untangle them.


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