GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::physics::GenericJointOptions< 3 > Struct Reference

#include <GREM/physics/joints.hpp>

Public Member Functions

constexpr bool operator== (const GenericJointOptions &other) const noexcept=default
 Compare these options to another set of options for equality.

Public Attributes

Pair< Length3D > attachmentOffsets {}
 Local offsets of the attachment frames of the connected objects.
Pair< Orientation3D > attachmentOrientations {}
 Local orientations of the attachment frames of the connected objects.
Optional< JointLinearConstraint3D > linearConstraint {}
 Linear limits of the joint.
Optional< JointDistanceConstraint3D > distanceConstraint {}
 Distance limit of the joint.
Optional< JointAngularConstraint3D > angularConstraint {}
 Angular limits of the joint.
Optional< JointConeConstraint3D > coneConstraint {}
 Cone limit of the joint.
Optional< JointTwistConstraint3D > twistConstraint {}
 Twist limit of the joint.
JointFlags3D flags {}
 Boolean properties of the joint.

Member Function Documentation

◆ operator==()

bool grem::physics::GenericJointOptions< 3 >::operator== ( const GenericJointOptions< 3 > & other) const
nodiscardconstexprdefaultnoexcept

Compare these options to another set of options for equality.

Parameters
otherthe options to compare these to.
Returns
true if the options are equal, false otherwise.

Member Data Documentation

◆ attachmentOffsets

Pair<Length3D> grem::physics::GenericJointOptions< 3 >::attachmentOffsets {}

Local offsets of the attachment frames of the connected objects.

◆ attachmentOrientations

Pair<Orientation3D> grem::physics::GenericJointOptions< 3 >::attachmentOrientations {}

Local orientations of the attachment frames of the connected objects.

◆ linearConstraint

Linear limits of the joint.

◆ distanceConstraint

Distance limit of the joint.

◆ angularConstraint

Angular limits of the joint.

◆ coneConstraint

Cone limit of the joint.

◆ twistConstraint

Twist limit of the joint.

◆ flags

Boolean properties of the joint.


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