|
SuperDex Physics C++ API
|
Parameters to create a soft deformable actor. More...
#include <mochi_structs.h>
Public Member Functions | |
| bool | operator== (SoftActorParams const &) const =default |
Public Attributes | |
| ActorBoundaryElementType | boundaryElementType = ActorBoundaryElementType::Default |
| Finite element type for contact discretization. | |
| ContactParams | contact |
| Contact mechanics parameters. | |
| bool | hasGravity = true |
| If true, actor is affected by gravity. | |
| bool | hasInertia = true |
| If true, actor is affected by inertial forces. | |
| bool | hasStress = true |
| If true, actor is affected by internal stress/strain forces. | |
| DynamicString | layer |
| Contact layer name for filtering contacts between actors. | |
| SoftMaterialParams | material = {} |
| Uniform material properties. | |
| DynamicString | name |
| Optional actor name. | |
| ShapeHandle | shape |
| Shape handle defining the actor's geometry and other metadata. | |
| bool | useContactSkin = false |
| [Experimental] Use the shape's authored contact skin for colliding contact samples. | |
| TransformRT | worldFromLocal |
| Initial rotation and translation of the actor's local frame with respect to world frame. | |
Parameters to create a soft deformable actor.
Soft actors are volumetric deformable bodies simulated using the Finite Element Method (FEM).
Definition at line 182 of file mochi_structs.h.
|
default |
| ActorBoundaryElementType superdex::SoftActorParams::boundaryElementType = ActorBoundaryElementType::Default |
Finite element type for contact discretization.
Definition at line 203 of file mochi_structs.h.
| ContactParams superdex::SoftActorParams::contact |
| bool superdex::SoftActorParams::hasGravity = true |
If true, actor is affected by gravity.
Definition at line 195 of file mochi_structs.h.
| bool superdex::SoftActorParams::hasInertia = true |
If true, actor is affected by inertial forces.
Definition at line 197 of file mochi_structs.h.
| bool superdex::SoftActorParams::hasStress = true |
If true, actor is affected by internal stress/strain forces.
Definition at line 199 of file mochi_structs.h.
| DynamicString superdex::SoftActorParams::layer |
Contact layer name for filtering contacts between actors.
Definition at line 185 of file mochi_structs.h.
| SoftMaterialParams superdex::SoftActorParams::material = {} |
Uniform material properties.
Definition at line 191 of file mochi_structs.h.
| DynamicString superdex::SoftActorParams::name |
Optional actor name.
Uniqueness of names is not enforced.
Definition at line 183 of file mochi_structs.h.
| ShapeHandle superdex::SoftActorParams::shape |
Shape handle defining the actor's geometry and other metadata.
Definition at line 189 of file mochi_structs.h.
| bool superdex::SoftActorParams::useContactSkin = false |
[Experimental] Use the shape's authored contact skin for colliding contact samples.
Actor creation fails unless the shape has a contact skin. The tetrahedral boundary remains the collider geometry when an SDF or Deep Flow collider is enabled. This option is not supported for ROM or nested soft actors.
Definition at line 201 of file mochi_structs.h.
| TransformRT superdex::SoftActorParams::worldFromLocal |
Initial rotation and translation of the actor's local frame with respect to world frame.
Definition at line 187 of file mochi_structs.h.