|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Linear limits of a joint. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const JointLinearConstraint &other) const noexcept=default |
| Compare this constraint to another constraint for equality. | |
Public Attributes | |
| LinearVelocity< N > | driveTargetVelocities {} |
| Target velocity of the drive along each local axis of the first connected object's attachment frame. | |
| Force< N > | driveMaxForces {} |
| Maximum force applied by the drive to reach the target velocity along each local axis of the first connected object's attachment frame. | |
| Length< N > | minOffsets = Length<N>::MIN |
| Minimum signed distance of the attachment frame points along each local axis of the first connected object's attachment frame. | |
| Length< N > | maxOffsets = Length<N>::MAX |
| Maximum signed distance of the attachment frame points along each local axis of the first connected object's attachment frame. | |
| Rate< N > | limitStiffnesses {DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS} |
| Stiffness of the constraint limits for each axis. | |
| Quantity< N, Unitless > | limitDampingRatios {DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO} |
| Damping ratio used when solving the constraint limits for each axis. | |
Linear limits 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. |
| LinearVelocity<N> grem::physics::JointLinearConstraint< N >::driveTargetVelocities {} |
Target velocity of the drive along each local axis of the first connected object's attachment frame.
| Force<N> grem::physics::JointLinearConstraint< N >::driveMaxForces {} |
Maximum force applied by the drive to reach the target velocity along each local axis of the first connected object's attachment frame.
| Length<N> grem::physics::JointLinearConstraint< N >::minOffsets = Length<N>::MIN |
Minimum signed distance of the attachment frame points along each local axis of the first connected object's attachment frame.
Each component must be less than or equal to the corresponding component of maxOffsets.
| Length<N> grem::physics::JointLinearConstraint< N >::maxOffsets = Length<N>::MAX |
Maximum signed distance of the attachment frame points along each local axis of the first connected object's attachment frame.
Each component must be greater than or equal to the corresponding component of minOffsets.
| Rate<N> grem::physics::JointLinearConstraint< N >::limitStiffnesses {DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS} |
Stiffness of the constraint limits for each axis.
Each component must be non-negative.
| Quantity<N, Unitless> grem::physics::JointLinearConstraint< N >::limitDampingRatios {DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO} |
Damping ratio used when solving the constraint limits for each axis.
Each component must be positive.