|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a spherical joint. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const BallJointOptions &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 ball joint when the attachment frame points are separated. | |
| Coefficient | linearAttachmentDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
| Damping ratio of the ball joint when the attachment frame points are separated. | |
| AngularVelocity2D | twistDriveTargetVelocity {} |
| Target velocity of the twist drive. | |
| Torque2D | twistDriveMaxTorque {} |
| Maximum torque applied by the twist drive. | |
| Angle | minSwingAngle = Angle::MIN |
| Minimum swing angle of the ball joint. | |
| Angle | maxSwingAngle = Angle::MAX |
| Maximum swing angle of the ball joint. | |
| Frequency | swingLimitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
| Stiffness of the ball joint when extended beyond minSwingAngle/maxSwingAngle. | |
| Coefficient | swingLimitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
| Damping ratio of the ball joint when extended beyond minSwingAngle/maxSwingAngle. | |
| Angle | minTwistAngle = Angle::MIN |
| Minimum twist angle of the ball joint. | |
| Angle | maxTwistAngle = Angle::MAX |
| Maximum twist angle of the ball joint. | |
| Frequency | twistLimitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
| Stiffness of the ball joint when extended beyond minTwistAngle/maxTwistAngle. | |
| Coefficient | twistLimitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
| Damping ratio of the ball joint when extended beyond minTwistAngle/maxTwistAngle. | |
| JointFlags< N > | flags {} |
| Boolean properties of the joint. | |
Configuration options for a spherical 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::BallJointOptions< N >::attachmentOffsets {} |
Local offsets of the attachment frames of the connected objects.
| Pair<Orientation<N> > grem::physics::BallJointOptions< N >::attachmentOrientations {} |
Local orientations of the attachment frames of the connected objects.
| Frequency grem::physics::BallJointOptions< N >::linearAttachmentStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
Stiffness of the ball joint when the attachment frame points are separated.
Must be non-negative.
| Coefficient grem::physics::BallJointOptions< N >::linearAttachmentDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
Damping ratio of the ball joint when the attachment frame points are separated.
Must be positive.
| AngularVelocity2D grem::physics::BallJointOptions< N >::twistDriveTargetVelocity {} |
Target velocity of the twist drive.
| Torque2D grem::physics::BallJointOptions< N >::twistDriveMaxTorque {} |
Maximum torque applied by the twist drive.
| Angle grem::physics::BallJointOptions< N >::minSwingAngle = Angle::MIN |
Minimum swing angle of the ball joint.
Must be less than or equal to maxSwingAngle.
| Angle grem::physics::BallJointOptions< N >::maxSwingAngle = Angle::MAX |
Maximum swing angle of the ball joint.
Must be greater than or equal to minSwingAngle.
| Frequency grem::physics::BallJointOptions< N >::swingLimitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
Stiffness of the ball joint when extended beyond minSwingAngle/maxSwingAngle.
Must be non-negative.
| Coefficient grem::physics::BallJointOptions< N >::swingLimitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
Damping ratio of the ball joint when extended beyond minSwingAngle/maxSwingAngle.
Must be positive.
| Angle grem::physics::BallJointOptions< N >::minTwistAngle = Angle::MIN |
Minimum twist angle of the ball joint.
Must be less than or equal to maxTwistAngle.
| Angle grem::physics::BallJointOptions< N >::maxTwistAngle = Angle::MAX |
Maximum twist angle of the ball joint.
Must be greater than or equal to minTwistAngle.
| Frequency grem::physics::BallJointOptions< N >::twistLimitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
Stiffness of the ball joint when extended beyond minTwistAngle/maxTwistAngle.
Must be non-negative.
| Coefficient grem::physics::BallJointOptions< N >::twistLimitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
Damping ratio of the ball joint when extended beyond minTwistAngle/maxTwistAngle.
Must be positive.
| JointFlags<N> grem::physics::BallJointOptions< N >::flags {} |
Boolean properties of the joint.