|
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 boundary 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. | |
| 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 158 of file mochi_structs.h.
|
default |
| ActorBoundaryElementType superdex::SoftActorParams::boundaryElementType = ActorBoundaryElementType::Default |
Finite element type for boundary discretization.
Definition at line 177 of file mochi_structs.h.
| ContactParams superdex::SoftActorParams::contact |
| bool superdex::SoftActorParams::hasGravity = true |
If true, actor is affected by gravity.
Definition at line 171 of file mochi_structs.h.
| bool superdex::SoftActorParams::hasInertia = true |
If true, actor is affected by inertial forces.
Definition at line 173 of file mochi_structs.h.
| bool superdex::SoftActorParams::hasStress = true |
If true, actor is affected by internal stress/strain forces.
Definition at line 175 of file mochi_structs.h.
| DynamicString superdex::SoftActorParams::layer |
Contact layer name for filtering contacts between actors.
Definition at line 161 of file mochi_structs.h.
| SoftMaterialParams superdex::SoftActorParams::material = {} |
Uniform material properties.
Definition at line 167 of file mochi_structs.h.
| DynamicString superdex::SoftActorParams::name |
Optional actor name.
Uniqueness of names is not enforced.
Definition at line 159 of file mochi_structs.h.
| ShapeHandle superdex::SoftActorParams::shape |
Shape handle defining the actor's geometry and other metadata.
Definition at line 165 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 163 of file mochi_structs.h.