|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a fully constrained joint. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const WeldOptions &other) const noexcept=default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| Pair< Length< N > > | attachmentOffsets {} |
| Local offsets of the attachment frames of the connected objects. | |
| Pair< Orientation< N > > | attachmentOrientations {} |
| Local orientations of the attachment frames of the connected objects. | |
| Frequency | linearStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
| Linear stiffness of the weld. | |
| Coefficient | linearDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
| Linear damping ratio of the weld. | |
| Frequency | angularStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
| Angular stiffness of the weld. | |
| Coefficient | angularDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
| Angular damping ratio of the weld. | |
| JointFlags< N > | flags {} |
| Boolean properties of the joint. | |
Configuration options for a fully constrained joint.
| N | number of dimensions of the world space (must be 2 or 3). |
|
nodiscardconstexprdefaultnoexcept |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| Pair<Length<N> > grem::physics::WeldOptions< N >::attachmentOffsets {} |
Local offsets of the attachment frames of the connected objects.
| Pair<Orientation<N> > grem::physics::WeldOptions< N >::attachmentOrientations {} |
Local orientations of the attachment frames of the connected objects.
| Frequency grem::physics::WeldOptions< N >::linearStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
Linear stiffness of the weld.
Must be non-negative.
| Coefficient grem::physics::WeldOptions< N >::linearDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
Linear damping ratio of the weld.
Must be positive.
| Frequency grem::physics::WeldOptions< N >::angularStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
Angular stiffness of the weld.
Must be non-negative.
| Coefficient grem::physics::WeldOptions< N >::angularDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
Angular damping ratio of the weld.
Must be positive.
| JointFlags<N> grem::physics::WeldOptions< N >::flags {} |
Boolean properties of the joint.