|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a prismatic joint. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const PrismaticJointOptions &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 | linearAttachmentStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
| Stiffness of the prismatic joint when the attachment frame points are separated perpendicular to the joint axis. | |
| Coefficient | linearAttachmentDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
| Damping ratio of the prismatic joint when the attachment frame points are separated perpendicular to the joint axis. | |
| Frequency | angularAttachmentStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
| Stiffness of the prismatic joint when the attachment frame directions are separated. | |
| Coefficient | angularAttachmentDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
| Damping ratio of the prismatic joint when the attachment frame directions are separated. | |
| LinearVelocity1D | driveTargetVelocity {} |
| Target velocity of the drive. | |
| Force1D | driveMaxForce {} |
| Maximum force applied by the drive. | |
| Length1D | minOffset = Length1D::MIN |
| Minimum slide offset of the prismatic joint. | |
| Length1D | maxOffset = Length1D::MAX |
| Maximum slide offset of the prismatic joint. | |
| Frequency | linearLimitStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
| Stiffness of the prismatic joint when extended beyond minOffset/maxOffset. | |
| Coefficient | linearLimitDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
| Damping ratio of the prismatic joint when extended beyond minOffset/maxOffset. | |
| Angle | restAngle {} |
| Target angle of the prismatic joint. | |
| Frequency | angularLimitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
| Stiffness of the prismatic joint when extended beyond restAngle. | |
| Coefficient | angularLimitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
| Damping ratio of the prismatic joint when extended beyond restAngle. | |
| JointFlags< N > | flags {} |
| Boolean properties of the joint. | |
Configuration options for a prismatic 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::PrismaticJointOptions< N >::attachmentOffsets {} |
Local offsets of the attachment frames of the connected objects.
| Pair<Orientation<N> > grem::physics::PrismaticJointOptions< N >::attachmentOrientations {} |
Local orientations of the attachment frames of the connected objects.
| Frequency grem::physics::PrismaticJointOptions< N >::linearAttachmentStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
Stiffness of the prismatic joint when the attachment frame points are separated perpendicular to the joint axis.
Must be non-negative.
| Coefficient grem::physics::PrismaticJointOptions< N >::linearAttachmentDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
Damping ratio of the prismatic joint when the attachment frame points are separated perpendicular to the joint axis.
Must be positive.
| Frequency grem::physics::PrismaticJointOptions< N >::angularAttachmentStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
Stiffness of the prismatic joint when the attachment frame directions are separated.
Must be non-negative.
| Coefficient grem::physics::PrismaticJointOptions< N >::angularAttachmentDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
Damping ratio of the prismatic joint when the attachment frame directions are separated.
Must be positive.
| LinearVelocity1D grem::physics::PrismaticJointOptions< N >::driveTargetVelocity {} |
Target velocity of the drive.
| Force1D grem::physics::PrismaticJointOptions< N >::driveMaxForce {} |
Maximum force applied by the drive.
| Length1D grem::physics::PrismaticJointOptions< N >::minOffset = Length1D::MIN |
Minimum slide offset of the prismatic joint.
Must be less than or equal to maxOffset.
| Length1D grem::physics::PrismaticJointOptions< N >::maxOffset = Length1D::MAX |
Maximum slide offset of the prismatic joint.
Must be greater than or equal to minOffset.
| Frequency grem::physics::PrismaticJointOptions< N >::linearLimitStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
| Coefficient grem::physics::PrismaticJointOptions< N >::linearLimitDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
| Angle grem::physics::PrismaticJointOptions< N >::restAngle {} |
Target angle of the prismatic joint.
| Frequency grem::physics::PrismaticJointOptions< N >::angularLimitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
| Coefficient grem::physics::PrismaticJointOptions< N >::angularLimitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
Damping ratio of the prismatic joint when extended beyond restAngle.
Must be positive.
| JointFlags<N> grem::physics::PrismaticJointOptions< N >::flags {} |
Boolean properties of the joint.