|
SuperDex Physics C++ API
|
Parameters for creating a constraint coupling a node in a deformable actor to a node in another deformable actor. More...
#include <mochi_structs.h>
Public Attributes | |
| ActorHandle | actorA {} |
| Actor handle identifying deformable actor A. | |
| ActorHandle | actorB {} |
| Actor handle identifying deformable actor B. | |
| bool | findClosest = false |
| Whether to automatically select a boundary node on each actor. | |
| int | nodeIndexA = -1 |
| Node index in deformable actor A's reference simulation mesh, as returned by Actor::GetMesh. | |
| int | nodeIndexB = -1 |
| Node index in deformable actor B's reference simulation mesh, as returned by Actor::GetMesh. | |
| Public Attributes inherited from superdex::ConstraintParams | |
| real | damping = 0_r |
| Constraint damping coefficient. | |
| real | saturation = -1_r |
| Saturation distance [m] or angle [rad]. | |
| real | stiffness = 1e6_r |
| Constraint stiffness coefficient. | |
Additional Inherited Members | |
| Public Member Functions inherited from superdex::ConstraintParams | |
| bool | operator== (ConstraintParams const &) const =default |
Parameters for creating a constraint coupling a node in a deformable actor to a node in another deformable actor.
Definition at line 303 of file mochi_structs.h.
| ActorHandle superdex::DeformableNodeToDeformableNodeConstraintParams::actorA {} |
Actor handle identifying deformable actor A.
Definition at line 308 of file mochi_structs.h.
| ActorHandle superdex::DeformableNodeToDeformableNodeConstraintParams::actorB {} |
Actor handle identifying deformable actor B.
Definition at line 310 of file mochi_structs.h.
| bool superdex::DeformableNodeToDeformableNodeConstraintParams::findClosest = false |
Whether to automatically select a boundary node on each actor.
Definition at line 312 of file mochi_structs.h.
| int superdex::DeformableNodeToDeformableNodeConstraintParams::nodeIndexA = -1 |
Node index in deformable actor A's reference simulation mesh, as returned by Actor::GetMesh.
Ignored if findClosest is true; otherwise it must identify a node in that mesh.
Definition at line 304 of file mochi_structs.h.
| int superdex::DeformableNodeToDeformableNodeConstraintParams::nodeIndexB = -1 |
Node index in deformable actor B's reference simulation mesh, as returned by Actor::GetMesh.
Ignored if findClosest is true; otherwise it must identify a node in that mesh.
Definition at line 306 of file mochi_structs.h.