SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::prefab::DeformableNodeToDeformableNodeConstraintPrefab Struct Reference

Prefab parameters for a DeformableNodeToDeformableNodeConstraintParams. More...

#include <mochi_prefab.h>

Inheritance diagram for superdex::prefab::DeformableNodeToDeformableNodeConstraintPrefab:
superdex::DeformableNodeToDeformableNodeConstraintParams superdex::ConstraintParams

Public Attributes

DynamicString actorNameA {}
 Name or hierarchy path identifying deformable actor A.
DynamicString actorNameB {}
 Name or hierarchy path identifying deformable actor B.
Public Attributes inherited from superdex::DeformableNodeToDeformableNodeConstraintParams
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

Detailed Description

Prefab parameters for a DeformableNodeToDeformableNodeConstraintParams.

Note
Actor name fields use the same naming convention as PoseControllerPrefab. "myActor" refers to an actor in this prefab. "myPrefab/myActor" refers to an actor in a nested prefab.
A referenced actor name must identify exactly one existing actor. Actor names need not be unique, but referencing a name shared by more than one actor, or a name that matches no actor, is invalid and rejected at AddToScene.

Definition at line 186 of file mochi_prefab.h.

Member Data Documentation

◆ actorNameA

DynamicString superdex::prefab::DeformableNodeToDeformableNodeConstraintPrefab::actorNameA {}

Name or hierarchy path identifying deformable actor A.

Definition at line 188 of file mochi_prefab.h.

◆ actorNameB

DynamicString superdex::prefab::DeformableNodeToDeformableNodeConstraintPrefab::actorNameB {}

Name or hierarchy path identifying deformable actor B.

Definition at line 189 of file mochi_prefab.h.


The documentation for this struct was generated from the following files: