|
SuperDex Physics C++ API
|
Prefab parameters for a DeformableNodeToRigidConstraintParams. More...
#include <mochi_prefab.h>
Public Attributes | |
| DynamicString | deformableActorName {} |
| Name or hierarchy path identifying the deformable actor. | |
| DynamicString | rigidActorName {} |
| Name or hierarchy path identifying the rigid actor. | |
| Public Attributes inherited from superdex::DeformableNodeToRigidConstraintParams | |
| ActorHandle | deformableActor {} |
| Actor handle identifying the deformable actor. | |
| int | deformableNodeIndex = -1 |
| Node index in the deformable actor's reference simulation mesh, as returned by Actor::GetMesh. | |
| bool | findClosest = false |
| Whether to automatically select a boundary node of the deformable actor. | |
| bool | fixToDeformablePos = true |
| When true, the coupling position on the rigid actor is auto-computed to match the deformable node's initial position (in the rigid actor's frame), so the constraint starts at zero deviation, and rigidLocalPos is ignored. | |
| ActorHandle | rigidActor {} |
| Actor handle identifying the rigid actor. | |
| Real3 | rigidLocalPos {} |
| Coupling position [m] in rigid actor's local frame. | |
| 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 |
Prefab parameters for a DeformableNodeToRigidConstraintParams.
Definition at line 192 of file mochi_prefab.h.
| DynamicString superdex::prefab::DeformableNodeToRigidConstraintPrefab::deformableActorName {} |
Name or hierarchy path identifying the deformable actor.
Definition at line 194 of file mochi_prefab.h.
| DynamicString superdex::prefab::DeformableNodeToRigidConstraintPrefab::rigidActorName {} |
Name or hierarchy path identifying the rigid actor.
Definition at line 193 of file mochi_prefab.h.