|
SuperDex Physics C++ API
|
Parameters for creating a target constraint on 3D rotation DoFs of an articulated actor. More...
#include <mochi_structs.h>
Public Attributes | |
| ActorHandle | actor {} |
| Actor handle identifying the articulated actor. | |
| int | jointIndex = 0 |
| Index of the joint in the articulated actor. | |
| Quaternion | target {} |
| Target rotation relative to the joint's rest orientation, expressed in the joint's local frame as a quaternion [x, y, z, w]. | |
| 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 target constraint on 3D rotation DoFs of an articulated actor.
Forces the rotation degrees of freedom of a spherical or free joint in an articulated actor to track a given target orientation. This drives the joint toward a desired rotational configuration.
Definition at line 409 of file mochi_structs.h.
| ActorHandle superdex::Articulated3dRotationTargetConstraintParams::actor {} |
Actor handle identifying the articulated actor.
Definition at line 410 of file mochi_structs.h.
| int superdex::Articulated3dRotationTargetConstraintParams::jointIndex = 0 |
Index of the joint in the articulated actor.
Definition at line 412 of file mochi_structs.h.
| Quaternion superdex::Articulated3dRotationTargetConstraintParams::target {} |
Target rotation relative to the joint's rest orientation, expressed in the joint's local frame as a quaternion [x, y, z, w].
The identity quaternion corresponds to the rest orientation.
Definition at line 414 of file mochi_structs.h.