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