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