|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Angular limit of a joint in a 3-dimensional world around the local Y axes of the connected objects' attachment frames. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const JointTwistConstraint3D &other) const noexcept=default |
| Compare this constraint to another constraint for equality. | |
Public Attributes | |
| AngularVelocity2D | driveTargetVelocity {} |
| Target velocity of the drive. | |
| Torque2D | driveMaxTorque {} |
| Maximum torque applied by the drive. | |
| Angle | minAngle = Angle::MIN |
| Minimum twist angle. | |
| Angle | maxAngle = Angle::MAX |
| Maximum twist angle. | |
| Frequency | limitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
| Stiffness of the constraint limits. | |
| Coefficient | limitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
| Damping ratio used when solving the constraint limits. | |
Angular limit of a joint in a 3-dimensional world around the local Y axes of the connected objects' attachment frames.
|
nodiscardconstexprdefaultnoexcept |
Compare this constraint to another constraint for equality.
| other | constraint to compare against. |
| AngularVelocity2D grem::physics::JointTwistConstraint3D::driveTargetVelocity {} |
Target velocity of the drive.
| Torque2D grem::physics::JointTwistConstraint3D::driveMaxTorque {} |
Maximum torque applied by the drive.
| Angle grem::physics::JointTwistConstraint3D::minAngle = Angle::MIN |
Minimum twist angle.
Must be less than or equal to maxAngle.
| Angle grem::physics::JointTwistConstraint3D::maxAngle = Angle::MAX |
Maximum twist angle.
Must be greater than or equal to minAngle.
| Frequency grem::physics::JointTwistConstraint3D::limitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
Stiffness of the constraint limits.
Must be non-negative.
| Coefficient grem::physics::JointTwistConstraint3D::limitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
Damping ratio used when solving the constraint limits.
Must be positive.