|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Cone-shaped angular limit of a joint in a 3-dimensional world. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const JointConeConstraint3D &other) const noexcept=default |
| Compare this constraint to another constraint for equality. | |
Public Attributes | |
| Angle | minAngle = Angle::MIN |
| Minimum angle between the attachment frames. | |
| Angle | maxAngle = Angle::MAX |
| Maximum angle between the attachment frames. | |
| 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. | |
Cone-shaped angular limit of a joint in a 3-dimensional world.
|
nodiscardconstexprdefaultnoexcept |
Compare this constraint to another constraint for equality.
| other | constraint to compare against. |
| Angle grem::physics::JointConeConstraint3D::minAngle = Angle::MIN |
Minimum angle between the attachment frames.
Must be less than or equal to maxAngle.
| Angle grem::physics::JointConeConstraint3D::maxAngle = Angle::MAX |
Maximum angle between the attachment frames.
Must be greater than or equal to minAngle.
| Frequency grem::physics::JointConeConstraint3D::limitStiffness = DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS |
Stiffness of the constraint limits.
Must be non-negative.
| Coefficient grem::physics::JointConeConstraint3D::limitDampingRatio = DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO |
Damping ratio used when solving the constraint limits.
Must be positive.