|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Distance limit of a joint. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const JointDistanceConstraint &other) const noexcept=default |
| Compare this constraint to another constraint for equality. | |
Public Attributes | |
| LinearVelocity1D | driveTargetVelocity {} |
| Target velocity of the drive. | |
| Force1D | driveMaxForce {} |
| Maximum force applied by the drive to reach the target velocity. | |
| Distance | minDistance {} |
| Minimum distance between the attachment frame points. | |
| Distance | maxDistance = Distance::MAX |
| Maximum signed distance of the attachment frame points. | |
| Frequency | limitStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
| Stiffness of the constraint limits. | |
| Coefficient | limitDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
| Damping ratio used when solving the constraint limits. | |
Distance limit of a joint.
| N | number of dimensions of the world space (must be 2 or 3). |
|
nodiscardconstexprdefaultnoexcept |
Compare this constraint to another constraint for equality.
| other | constraint to compare against. |
| LinearVelocity1D grem::physics::JointDistanceConstraint< N >::driveTargetVelocity {} |
Target velocity of the drive.
| Force1D grem::physics::JointDistanceConstraint< N >::driveMaxForce {} |
Maximum force applied by the drive to reach the target velocity.
| Distance grem::physics::JointDistanceConstraint< N >::minDistance {} |
Minimum distance between the attachment frame points.
Must be non-negative. Must be less than or equal to maxDistance.
| Distance grem::physics::JointDistanceConstraint< N >::maxDistance = Distance::MAX |
Maximum signed distance of the attachment frame points.
Must be non-negative. Must be greater than or equal to minDistance.
| Frequency grem::physics::JointDistanceConstraint< N >::limitStiffness = DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS |
Stiffness of the constraint limits.
Must be non-negative.
| Coefficient grem::physics::JointDistanceConstraint< N >::limitDampingRatio = DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO |
Damping ratio used when solving the constraint limits.
Must be positive.