|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Angular limits of a joint. More...
#include <GREM/physics/joints.hpp>
Public Member Functions | |
| constexpr bool | operator== (const JointAngularConstraint &other) const noexcept=default |
| Compare this constraint to another constraint for equality. | |
Public Attributes | |
| AngularVelocity< N > | driveTargetVelocities {} |
| Target velocity of the drive around each local axis of the first connected object's attachment frame. | |
| Torque< N > | driveMaxTorques {} |
| Maximum torque applied by the drive to reach the target velocity around each local axis of the first connected object's attachment frame. | |
| Rotation< N > | minAngles = Rotation<N>::MIN |
| Minimum angle of the attachment frames around each local axis of the first connected object's attachment frame. | |
| Rotation< N > | maxAngles = Rotation<N>::MAX |
| Maximum angle of the attachment frames around each local axis of the first connected object's attachment frame. | |
| AngularFrequency< N > | limitStiffnesses {DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS} |
| Stiffness of the constraint limits for each axis. | |
| AngularScale< N > | limitDampingRatios {DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO} |
| Damping ratio used when solving the constraint limits for each axis. | |
Angular 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. |
| AngularVelocity<N> grem::physics::JointAngularConstraint< N >::driveTargetVelocities {} |
Target velocity of the drive around each local axis of the first connected object's attachment frame.
| Torque<N> grem::physics::JointAngularConstraint< N >::driveMaxTorques {} |
Maximum torque applied by the drive to reach the target velocity around each local axis of the first connected object's attachment frame.
| Rotation<N> grem::physics::JointAngularConstraint< N >::minAngles = Rotation<N>::MIN |
Minimum angle of the attachment frames around each local axis of the first connected object's attachment frame.
Each component must be less than or equal to the corresponding component of maxAngles.
| Rotation<N> grem::physics::JointAngularConstraint< N >::maxAngles = Rotation<N>::MAX |
Maximum angle of the attachment frames around each local axis of the first connected object's attachment frame.
Each component must be greater than or equal to the corresponding component of minAngles.
| AngularFrequency<N> grem::physics::JointAngularConstraint< N >::limitStiffnesses {DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS} |
Stiffness of the constraint limits for each axis.
Each component must be non-negative.
| AngularScale<N> grem::physics::JointAngularConstraint< N >::limitDampingRatios {DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO} |
Damping ratio used when solving the constraint limits for each axis.
Each component must be positive.