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

Parameters for creating a spherical joint between two rigid actors. More...

#include <mochi_structs.h>

Inheritance diagram for superdex::RigidSphericalJointConstraintParams:
superdex::ConstraintParams superdex::prefab::RigidSphericalJointConstraintPrefab

Public Attributes

ActorHandle actorA {}
 Actor handle identifying rigid actor A.
ActorHandle actorB {}
 Actor handle identifying rigid actor B.
Real3 localPosA {}
 Joint position [m] for rigid actor A in actor A's local frame.
Real3 localPosB {}
 Joint position [m] for rigid actor B in actor B's local frame.
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

Parameters for creating a spherical joint between two rigid actors.

See also
Scene::CreateRigidSphericalJointConstraint, ConstraintType::RigidSphericalJoint

Definition at line 281 of file mochi_structs.h.

Member Data Documentation

◆ actorA

ActorHandle superdex::RigidSphericalJointConstraintParams::actorA {}

Actor handle identifying rigid actor A.

Definition at line 286 of file mochi_structs.h.

◆ actorB

ActorHandle superdex::RigidSphericalJointConstraintParams::actorB {}

Actor handle identifying rigid actor B.

Definition at line 288 of file mochi_structs.h.

◆ localPosA

Real3 superdex::RigidSphericalJointConstraintParams::localPosA {}

Joint position [m] for rigid actor A in actor A's local frame.

Definition at line 282 of file mochi_structs.h.

◆ localPosB

Real3 superdex::RigidSphericalJointConstraintParams::localPosB {}

Joint position [m] for rigid actor B in actor B's local frame.

Definition at line 284 of file mochi_structs.h.


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