|
Rapier C — 3D / f32 0.36.0+c.0
|
Plain configuration data; initialize defaults, edit, then apply. More...
#include <rapier.h>
Data Fields | |
| struct R3SpringCoefficients | edgeSoftness |
| Spring coefficients for structural edge constraints. | |
| struct R3SpringCoefficients | bendSoftness |
| Spring coefficients for bending edges and dihedrals. | |
| struct R3SpringCoefficients | volumeSoftness |
| Spring coefficients for cell and global volume constraints. | |
| struct R3SpringCoefficients | shapeMatchingSoftness |
| Spring coefficients for shape-matching constraints. | |
| R3Real | youngModulus |
| Elastic modulus: force per area in 3D, force per length in 2D; nonnegative. | |
| R3Real | poissonRatio |
| Poisson ratio for elastic cells, in [0, 0.5). | |
| R3Real | elasticDampingRatio |
| Nonnegative damping ratio of elastic cells. | |
| R3Real | plasticYield |
| Cell strain threshold for plastic flow; zero disables plasticity. | |
| R3Real | plasticCreep |
| Nonnegative rate per second at which excess cell strain becomes permanent. | |
| R3Real | plasticMax |
| Maximum accumulated cell plastic stretch, measured by the norm of P - I. | |
| R3Real | deformationDamping |
| Rate per second pulling particle velocities toward best-fit rigid motion; zero disables it. | |
| R3Real | edgePlasticYield |
| Edge strain threshold for plastic flow; zero disables plasticity. | |
| R3Real | edgePlasticCreep |
| Nonnegative rate per second at which excess edge strain becomes permanent. | |
| R3Real | edgePlasticMax |
| Maximum permanent edge-length change as a fraction of its initial length. | |
| uint32_t | edgePlasticFlow |
| Plastic flow direction: R3_SOFT_EDGE_PLASTIC_FLOW_BOTH, _COMPRESSION or _TENSION. | |
| struct R3OptionalReal | tearStrain |
| Optional strain threshold for tearing; disabled means no strain-based tearing. | |
| struct R3OptionalReal | tearForce |
| Optional tensile edge-force threshold for tearing. | |
| R3Real | tearSmoothing |
| Exponential load-smoothing time constant in seconds; zero disables smoothing. | |
| R3Real | interiorStrength |
| Tear-threshold multiplier for undamaged interior elements. | |
| uint32_t | maxTearsPerStep |
| Maximum ordinary edge tears per step; edges above twice their threshold bypass the limit. | |
| struct R3OptionalU32 | minPiece |
| Optional minimum particle count of tear pieces. | |
Plain configuration data; initialize defaults, edit, then apply.
No destructor.
| struct R3SpringCoefficients R3SoftBodyMaterial::bendSoftness |
Spring coefficients for bending edges and dihedrals.
| R3Real R3SoftBodyMaterial::deformationDamping |
Rate per second pulling particle velocities toward best-fit rigid motion; zero disables it.
| R3Real R3SoftBodyMaterial::edgePlasticCreep |
Nonnegative rate per second at which excess edge strain becomes permanent.
| uint32_t R3SoftBodyMaterial::edgePlasticFlow |
Plastic flow direction: R3_SOFT_EDGE_PLASTIC_FLOW_BOTH, _COMPRESSION or _TENSION.
| R3Real R3SoftBodyMaterial::edgePlasticMax |
Maximum permanent edge-length change as a fraction of its initial length.
| R3Real R3SoftBodyMaterial::edgePlasticYield |
Edge strain threshold for plastic flow; zero disables plasticity.
| struct R3SpringCoefficients R3SoftBodyMaterial::edgeSoftness |
Spring coefficients for structural edge constraints.
| R3Real R3SoftBodyMaterial::elasticDampingRatio |
Nonnegative damping ratio of elastic cells.
| R3Real R3SoftBodyMaterial::interiorStrength |
Tear-threshold multiplier for undamaged interior elements.
| uint32_t R3SoftBodyMaterial::maxTearsPerStep |
Maximum ordinary edge tears per step; edges above twice their threshold bypass the limit.
| struct R3OptionalU32 R3SoftBodyMaterial::minPiece |
Optional minimum particle count of tear pieces.
| R3Real R3SoftBodyMaterial::plasticCreep |
Nonnegative rate per second at which excess cell strain becomes permanent.
| R3Real R3SoftBodyMaterial::plasticMax |
Maximum accumulated cell plastic stretch, measured by the norm of P - I.
| R3Real R3SoftBodyMaterial::plasticYield |
Cell strain threshold for plastic flow; zero disables plasticity.
| R3Real R3SoftBodyMaterial::poissonRatio |
Poisson ratio for elastic cells, in [0, 0.5).
| struct R3SpringCoefficients R3SoftBodyMaterial::shapeMatchingSoftness |
Spring coefficients for shape-matching constraints.
| struct R3OptionalReal R3SoftBodyMaterial::tearForce |
Optional tensile edge-force threshold for tearing.
| R3Real R3SoftBodyMaterial::tearSmoothing |
Exponential load-smoothing time constant in seconds; zero disables smoothing.
| struct R3OptionalReal R3SoftBodyMaterial::tearStrain |
Optional strain threshold for tearing; disabled means no strain-based tearing.
| struct R3SpringCoefficients R3SoftBodyMaterial::volumeSoftness |
Spring coefficients for cell and global volume constraints.
| R3Real R3SoftBodyMaterial::youngModulus |
Elastic modulus: force per area in 3D, force per length in 2D; nonnegative.