|
SuperDex Physics C++ API
|
Parameters for creating a position constraint on a deformable actor node. More...
#include <mochi_structs.h>
Public Member Functions | |
| bool | operator== (DeformableNodePositionConstraintParams const &) const =default |
| Public Member Functions inherited from superdex::ConstraintParams | |
| bool | operator== (ConstraintParams const &) const =default |
Public Attributes | |
| ActorHandle | actor {} |
| Actor handle identifying the deformable actor. | |
| int | nodeIndex = -1 |
| Node index in the deformable actor's reference simulation mesh, as returned by Actor::GetMesh. | |
| Real3 | position {} |
| Target position for the node in world frame [m]. | |
| 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. | |
Parameters for creating a position constraint on a deformable actor node.
Definition at line 379 of file mochi_structs.h.
|
default |
| ActorHandle superdex::DeformableNodePositionConstraintParams::actor {} |
Actor handle identifying the deformable actor.
Definition at line 384 of file mochi_structs.h.
| int superdex::DeformableNodePositionConstraintParams::nodeIndex = -1 |
Node index in the deformable actor's reference simulation mesh, as returned by Actor::GetMesh.
Must identify a node in that mesh.
Definition at line 380 of file mochi_structs.h.
| Real3 superdex::DeformableNodePositionConstraintParams::position {} |
Target position for the node in world frame [m].
Definition at line 382 of file mochi_structs.h.