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

Prefab parameters for a ArticulatedSingleDofRangeConstraintParams. More...

#include <mochi_prefab.h>

Inheritance diagram for superdex::prefab::ArticulatedSingleDofRangeConstraintPrefab:
superdex::ArticulatedSingleDofRangeConstraintParams superdex::ConstraintParams

Public Attributes

DynamicString actorName {}
 Name or hierarchy path identifying the articulated actor.
Public Attributes inherited from superdex::ArticulatedSingleDofRangeConstraintParams
ActorHandle actor {}
 Actor handle identifying the articulated actor.
int dofIndex = {}
 DoF index within the joint (0-based).
int jointIndex = 0
 Index of the joint in the articulated actor.
real maxValue = 0_r
 Maximum value for the DoF.
real minValue = 0_r
 Minimum value for the DoF.
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 ArticulatedSingleDofRangeConstraintParams.

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 235 of file mochi_prefab.h.

Member Data Documentation

◆ actorName

DynamicString superdex::prefab::ArticulatedSingleDofRangeConstraintPrefab::actorName {}

Name or hierarchy path identifying the articulated actor.

Definition at line 237 of file mochi_prefab.h.


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