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

Prefab parameters for a RodElementRotationToRigidConstraintParams. More...

#include <mochi_prefab.h>

Inheritance diagram for superdex::prefab::RodElementRotationToRigidConstraintPrefab:
superdex::RodElementRotationToRigidConstraintParams superdex::ConstraintParams

Public Member Functions

bool operator== (RodElementRotationToRigidConstraintPrefab const &) const =default
Public Member Functions inherited from superdex::RodElementRotationToRigidConstraintParams
bool operator== (RodElementRotationToRigidConstraintParams const &) const =default
Public Member Functions inherited from superdex::ConstraintParams
bool operator== (ConstraintParams const &) const =default

Public Attributes

DynamicString rigidActorName {}
 Name or hierarchy path identifying the rigid actor.
DynamicString rodActorName {}
 Name or hierarchy path identifying the rod actor.
Public Attributes inherited from superdex::RodElementRotationToRigidConstraintParams
int elementIndex = 0
 Index of the element in the rod actor.
Real3 refFrameRotVec {}
 Joint reference-frame orientation in world coordinates at constraint creation, expressed as a rotation vector [rad].
ActorHandle rigidActor {}
 Actor handle identifying rigid actor.
ActorHandle rodActor {}
 Actor handle identifying rod actor.
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.

Detailed Description

Prefab parameters for a RodElementRotationToRigidConstraintParams.

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.
RodElementRotationToRigidConstraintParams::refFrameRotVec is authored in the prefab frame and rotated into world coordinates.

Definition at line 377 of file mochi_prefab.h.

Member Function Documentation

◆ operator==()

bool superdex::prefab::RodElementRotationToRigidConstraintPrefab::operator== ( RodElementRotationToRigidConstraintPrefab const & ) const
default

Member Data Documentation

◆ rigidActorName

DynamicString superdex::prefab::RodElementRotationToRigidConstraintPrefab::rigidActorName {}

Name or hierarchy path identifying the rigid actor.

Definition at line 379 of file mochi_prefab.h.

◆ rodActorName

DynamicString superdex::prefab::RodElementRotationToRigidConstraintPrefab::rodActorName {}

Name or hierarchy path identifying the rod actor.

Definition at line 380 of file mochi_prefab.h.


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