GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
joints.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_PHYSICS_JOINTS_HPP
5#define GREM_PHYSICS_JOINTS_HPP
6
8
15
16namespace grem::physics {
17
22
27
32
37
41struct JointConnectedObjects : Pair<EntityID> {
42 using Pair::Pair;
43
44 constexpr JointConnectedObjects(Pair<EntityID> objectIDs) noexcept
45 : Pair(objectIDs) {}
46};
47
53template <size_t N>
54struct JointAttachmentOffsets : Pair<Length<N>> {
55 using Pair<Length<N>>::Pair;
56
57 constexpr JointAttachmentOffsets(Pair<Length<N>> localOffsets) noexcept
58 : Pair<Length<N>>(localOffsets) {}
59};
62
69template <size_t N>
70struct JointAttachmentOrientations : Pair<Orientation<N>> {
72
73 constexpr JointAttachmentOrientations(Pair<Orientation<N>> localOrientations) noexcept
74 : Pair<Orientation<N>>(localOrientations) {}
75};
78
84template <size_t N>
141
147template <size_t N>
190
196template <size_t N>
249
255template <size_t N>
301
307template <size_t N>
364
370template <size_t N>
413
455
483
536
575
581template <size_t N>
590 [[nodiscard]] constexpr bool operator==(const JointFlags& other) const noexcept = default;
591};
594
599
605template <size_t N>
607
608template <>
637
638template <>
673
676
682template <size_t N>
716
722template <size_t N>
774
780template <size_t N>
838
844template <size_t N>
905
911template <size_t N>
981
982} // namespace grem::physics
983
984#endif
Optional value type that holds either a value or no value.
Definition Optional.hpp:58
Definition Broadphase.hpp:24
JointAttachmentOrientations< 2 > JointAttachmentOrientations2D
Local orientations of the attachment frames of the objects connected by a joint in a 2-dimensional wo...
Definition joints.hpp:76
Length1D Distance
Scalar length quantity.
Definition quantities.hpp:4962
GenericJointOptions< 3 > GenericJointOptions3D
Configuration options for a generic joint in a 3-dimensional world.
Definition joints.hpp:675
AngularImpulse< 2 > AngularImpulse2D
Angular impulse in 2-dimensional space. Unit: Newton meter seconds.
Definition quantities.hpp:6030
JointLinearConstraintImpulses< 2 > JointLinearConstraintImpulses2D
Impulse applied by the linear limits of a joint in a 2-dimensional world.
Definition joints.hpp:188
constexpr Frequency DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS
Default stiffness value for linear joint limits.
Definition joints.hpp:21
Force< 1 > Force1D
Force in 1-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
Definition quantities.hpp:5694
JointAngularConstraintImpulses< 2 > JointAngularConstraintImpulses2D
Impulse applied by the angular limits of a joint in a 2-dimensional world.
Definition joints.hpp:411
JointFlags< 3 > JointFlags3D
Set of boolean properties of a joint in a 3-dimensional world.
Definition joints.hpp:593
AngularQuantity< N, NewtonMeters > Torque
Torque quantity.
Definition quantities.hpp:5718
JointFlags< 2 > JointFlags2D
Set of boolean properties of a joint in a 2-dimensional world.
Definition joints.hpp:592
AngularVelocity< 2 > AngularVelocity2D
Angular velocity in 2-dimensional space. Unit: Radians per second.
Definition quantities.hpp:5947
JointAttachmentOffsets< 3 > JointAttachmentOffsets3D
Local offsets of the attachment frames of the objects connected by a joint in a 3-dimensional world.
Definition joints.hpp:61
PrismaticJointOptions< 3 > PrismaticJointOptions3D
Configuration options for a prismatic joint in a 3-dimensional world.
Definition joints.hpp:904
AngularQuantity< N, NewtonMeterSeconds > AngularImpulse
Angular impulse quantity.
Definition quantities.hpp:6029
LinearVelocity< 1 > LinearVelocity1D
Linear velocity in 1-dimensional space. Unit: Meters per second.
Definition quantities.hpp:5619
PrismaticJointOptions< 2 > PrismaticJointOptions2D
Configuration options for a prismatic joint in a 2-dimensional world.
Definition joints.hpp:903
WeldOptions< 3 > WeldOptions3D
Configuration options for a fully constrained joint in a 3-dimensional world.
Definition joints.hpp:715
float Scalar
Underlying scalar type of physics quantity components.
Definition quantities.hpp:1480
HingeJointOptions< 2 > HingeJointOptions2D
Configuration options for a revolute joint in a 2-dimensional world.
Definition joints.hpp:772
Quantity< N, NewtonSeconds > LinearImpulse
Linear impulse quantity.
Definition quantities.hpp:5742
JointAngularConstraint< 2 > JointAngularConstraint2D
Angular limits of a joint in a 2-dimensional world.
Definition joints.hpp:362
JointLinearConstraint< 3 > JointLinearConstraint3D
Linear limits of a joint in a 3-dimensional world.
Definition joints.hpp:140
AngularQuantity< N, Unitless > AngularScale
Angular dimensionless scale.
Definition quantities.hpp:4010
JointAttachmentOrientations< 3 > JointAttachmentOrientations3D
Local orientations of the attachment frames of the objects connected by a joint in a 3-dimensional wo...
Definition joints.hpp:77
constexpr Coefficient DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO
Default damping value for linear joint limits.
Definition joints.hpp:26
BallJointOptions< 2 > BallJointOptions2D
Configuration options for a spherical joint in a 2-dimensional world.
Definition joints.hpp:836
Length< 1 > Length1D
Relative distance/length offset in 1-dimensional space. Unit: Meters.
Definition quantities.hpp:4925
GenericJointOptions< 2 > GenericJointOptions2D
Configuration options for a generic joint in a 2-dimensional world.
Definition joints.hpp:674
HingeJointOptions< 3 > HingeJointOptions3D
Configuration options for a revolute joint in a 3-dimensional world.
Definition joints.hpp:773
AngularMomentum< 2 > AngularMomentum2D
Angular momentum in 2-dimensional space. Unit: kilogram square meters per second.
Definition quantities.hpp:6056
JointAngularConstraintImpulses< 3 > JointAngularConstraintImpulses3D
Impulse applied by the angular limits of a joint in a 3-dimensional world.
Definition joints.hpp:412
constexpr Frequency DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS
Default stiffness value for angular joint limits.
Definition joints.hpp:31
WeldOptions< 2 > WeldOptions2D
Configuration options for a fully constrained joint in a 2-dimensional world.
Definition joints.hpp:714
JointAttachmentOffsets< 2 > JointAttachmentOffsets2D
Local offsets of the attachment frames of the objects connected by a joint in a 2-dimensional world.
Definition joints.hpp:60
CylinderJointOptions< 2 > CylinderJointOptions2D
Configuration options for a cylindrical joint in a 2-dimensional world.
Definition joints.hpp:979
Scale1D Coefficient
Unitless scalar quantity.
Definition quantities.hpp:3988
JointAngularConstraint< 3 > JointAngularConstraint3D
Angular limits of a joint in a 3-dimensional world.
Definition joints.hpp:363
Quantity< N, Newton > Force
Force quantity.
Definition quantities.hpp:5693
BallJointOptions< 3 > BallJointOptions3D
Configuration options for a spherical joint in a 3-dimensional world.
Definition joints.hpp:837
Quantity< N, Meters > Length
Relative distance/length offset quantity.
Definition quantities.hpp:4924
constexpr Coefficient DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO
Default damping value for angular joint limits.
Definition joints.hpp:36
JointDistanceConstraintImpulses< 3 > JointDistanceConstraintImpulses3D
Impulse applied by the distance limit of a joint in a 3-dimensional world.
Definition joints.hpp:300
Quantity< N, Hertz > Rate
Frequency quantity.
Definition quantities.hpp:5563
Quantity< N, KilogramMetersPerSecond > LinearMomentum
Linear momentum quantity.
Definition quantities.hpp:5777
AngularQuantity< N, Radians > Rotation
Relative rotation quantity.
Definition quantities.hpp:4093
AngularQuantity< N, RadiansPerSecond > AngularVelocity
Angular velocity quantity.
Definition quantities.hpp:5946
JointDistanceConstraintImpulses< 2 > JointDistanceConstraintImpulses2D
Impulse applied by the distance limit of a joint in a 2-dimensional world.
Definition joints.hpp:299
JointDistanceConstraint< 3 > JointDistanceConstraint3D
Distance limit of a joint in a 3-dimensional world.
Definition joints.hpp:248
Rate1D Frequency
Scalar frequency quantity.
Definition quantities.hpp:5576
LinearImpulse< 1 > LinearImpulse1D
Linear impulse in 1-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
Definition quantities.hpp:5743
JointLinearConstraintImpulses< 3 > JointLinearConstraintImpulses3D
Impulse applied by the linear limits of a joint in a 3-dimensional world.
Definition joints.hpp:189
LinearMomentum< 1 > LinearMomentum1D
Linear momentum in 1-dimensional space. Unit: Kilogram meters per second.
Definition quantities.hpp:5778
Quantity< 1, Radians > Angle
Angle quantity.
Definition quantities.hpp:4019
CylinderJointOptions< 3 > CylinderJointOptions3D
Configuration options for a cylindrical joint in a 3-dimensional world.
Definition joints.hpp:980
Quantity< N, MetersPerSecond > LinearVelocity
Linear velocity quantity.
Definition quantities.hpp:5618
Torque< 2 > Torque2D
Torque in 2-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
Definition quantities.hpp:5719
JointLinearConstraint< 2 > JointLinearConstraint2D
Linear limits of a joint in a 2-dimensional world.
Definition joints.hpp:139
JointDistanceConstraint< 2 > JointDistanceConstraint2D
Distance limit of a joint in a 2-dimensional world.
Definition joints.hpp:247
AngularQuantity< N, Hertz > AngularFrequency
Angular frequency quantity.
Definition quantities.hpp:5586
AngularQuantity< N, KilogramSquareMetersPerSecond > AngularMomentum
Angular momentum quantity.
Definition quantities.hpp:6055
Definition Pair.hpp:53
constexpr Pair(std::piecewise_construct_t piecewiseConstruct, std::tuple< Args1... > firstArgs, std::tuple< Args2... > secondArgs)
Definition Pair.hpp:95
Configuration options for a spherical joint.
Definition joints.hpp:781
Angle minSwingAngle
Definition joints.hpp:801
Torque2D twistDriveMaxTorque
Definition joints.hpp:798
Angle maxSwingAngle
Definition joints.hpp:804
Coefficient swingLimitDampingRatio
Definition joints.hpp:810
JointFlags< N > flags
Definition joints.hpp:825
Pair< Length< N > > attachmentOffsets
Definition joints.hpp:783
Frequency swingLimitStiffness
Definition joints.hpp:807
Coefficient linearAttachmentDampingRatio
Definition joints.hpp:792
AngularVelocity2D twistDriveTargetVelocity
Definition joints.hpp:795
constexpr bool operator==(const BallJointOptions &other) const noexcept=default
Compare these options to another set of options for equality.
Frequency linearAttachmentStiffness
Definition joints.hpp:789
Angle minTwistAngle
Definition joints.hpp:813
Coefficient twistLimitDampingRatio
Definition joints.hpp:822
Pair< Orientation< N > > attachmentOrientations
Definition joints.hpp:786
Frequency twistLimitStiffness
Definition joints.hpp:819
Angle maxTwistAngle
Definition joints.hpp:816
Configuration options for a cylindrical joint.
Definition joints.hpp:912
Frequency linearLimitStiffness
Definition joints.hpp:944
AngularVelocity2D angularDriveTargetVelocity
Definition joints.hpp:950
Length1D minOffset
Definition joints.hpp:938
Angle maxAngle
Definition joints.hpp:959
Coefficient linearLimitDampingRatio
Definition joints.hpp:947
Coefficient angularLimitDampingRatio
Definition joints.hpp:965
Pair< Orientation< N > > attachmentOrientations
Definition joints.hpp:917
Frequency angularLimitStiffness
Definition joints.hpp:962
JointFlags< N > flags
Definition joints.hpp:968
Torque2D angularDriveMaxTorque
Definition joints.hpp:953
Coefficient angularAttachmentDampingRatio
Definition joints.hpp:929
Frequency linearAttachmentStiffness
Definition joints.hpp:920
Frequency angularAttachmentStiffness
Definition joints.hpp:926
Length1D maxOffset
Definition joints.hpp:941
Angle minAngle
Definition joints.hpp:956
Coefficient linearAttachmentDampingRatio
Definition joints.hpp:923
LinearVelocity1D linearDriveTargetVelocity
Definition joints.hpp:932
Force1D linearDriveMaxForce
Definition joints.hpp:935
constexpr bool operator==(const CylinderJointOptions &other) const noexcept=default
Compare these options to another set of options for equality.
Pair< Length< N > > attachmentOffsets
Definition joints.hpp:914
Optional< JointAngularConstraint2D > angularConstraint
Angular limits of the joint.
Definition joints.hpp:623
Optional< JointDistanceConstraint2D > distanceConstraint
Distance limit of the joint.
Definition joints.hpp:620
constexpr bool operator==(const GenericJointOptions &other) const noexcept=default
Compare these options to another set of options for equality.
JointFlags2D flags
Boolean properties of the joint.
Definition joints.hpp:626
Optional< JointLinearConstraint2D > linearConstraint
Linear limits of the joint.
Definition joints.hpp:617
Pair< Length2D > attachmentOffsets
Local offsets of the attachment frames of the connected objects.
Definition joints.hpp:611
Pair< Orientation2D > attachmentOrientations
Local orientations of the attachment frames of the connected objects.
Definition joints.hpp:614
Pair< Length3D > attachmentOffsets
Local offsets of the attachment frames of the connected objects.
Definition joints.hpp:641
Optional< JointAngularConstraint3D > angularConstraint
Angular limits of the joint.
Definition joints.hpp:653
Optional< JointConeConstraint3D > coneConstraint
Cone limit of the joint.
Definition joints.hpp:656
Optional< JointDistanceConstraint3D > distanceConstraint
Distance limit of the joint.
Definition joints.hpp:650
JointFlags3D flags
Boolean properties of the joint.
Definition joints.hpp:662
Optional< JointTwistConstraint3D > twistConstraint
Twist limit of the joint.
Definition joints.hpp:659
constexpr bool operator==(const GenericJointOptions &other) const noexcept=default
Compare these options to another set of options for equality.
Pair< Orientation3D > attachmentOrientations
Local orientations of the attachment frames of the connected objects.
Definition joints.hpp:644
Optional< JointLinearConstraint3D > linearConstraint
Linear limits of the joint.
Definition joints.hpp:647
Configuration options for a generic joint.
Definition joints.hpp:606
Configuration options for a revolute joint.
Definition joints.hpp:723
JointFlags< N > flags
Definition joints.hpp:761
Frequency angularAttachmentStiffness
Definition joints.hpp:737
Pair< Length< N > > attachmentOffsets
Definition joints.hpp:725
Angle maxAngle
Definition joints.hpp:752
Angle minAngle
Definition joints.hpp:749
AngularVelocity2D driveTargetVelocity
Definition joints.hpp:743
Coefficient linearAttachmentDampingRatio
Definition joints.hpp:734
Coefficient angularLimitDampingRatio
Definition joints.hpp:758
constexpr bool operator==(const HingeJointOptions &other) const noexcept=default
Compare these options to another set of options for equality.
Frequency angularLimitStiffness
Definition joints.hpp:755
Pair< Orientation< N > > attachmentOrientations
Definition joints.hpp:728
Torque2D driveMaxTorque
Definition joints.hpp:746
Frequency linearAttachmentStiffness
Definition joints.hpp:731
Coefficient angularAttachmentDampingRatio
Definition joints.hpp:740
Tag component that is added to joints with active connected objects.
Definition joints.hpp:598
Impulse applied by the angular limits of a joint.
Definition joints.hpp:371
AngularImpulse< N > lowerLimitImpulses
Definition joints.hpp:396
AngularMomentum< N > upperLimitMomentums
Definition joints.hpp:402
AngularMomentum< N > driveMomentums
Definition joints.hpp:376
AngularImpulse< N > upperLimitImpulses
Definition joints.hpp:409
AngularMomentum< N > lowerLimitMomentums
Definition joints.hpp:389
AngularImpulse< N > driveImpulses
Definition joints.hpp:383
Angular limits of a joint.
Definition joints.hpp:308
AngularVelocity< N > driveTargetVelocities
Definition joints.hpp:313
constexpr bool operator==(const JointAngularConstraint &other) const noexcept=default
Compare this constraint to another constraint for equality.
Torque< N > driveMaxTorques
Definition joints.hpp:319
AngularFrequency< N > limitStiffnesses
Definition joints.hpp:344
AngularScale< N > limitDampingRatios
Definition joints.hpp:351
Rotation< N > minAngles
Definition joints.hpp:328
Rotation< N > maxAngles
Definition joints.hpp:337
Local offsets of the attachment frames of the objects connected by a joint.
Definition joints.hpp:54
constexpr JointAttachmentOffsets(Pair< Length< N > > localOffsets) noexcept
Definition joints.hpp:57
Local orientations of the attachment frames of the objects connected by a joint.
Definition joints.hpp:70
constexpr JointAttachmentOrientations(Pair< Orientation< N > > localOrientations) noexcept
Definition joints.hpp:73
Cone-shaped angular limit of a joint in a 3-dimensional world.
Definition joints.hpp:417
constexpr bool operator==(const JointConeConstraint3D &other) const noexcept=default
Compare this constraint to another constraint for equality.
Frequency limitStiffness
Stiffness of the constraint limits.
Definition joints.hpp:437
Coefficient limitDampingRatio
Damping ratio used when solving the constraint limits.
Definition joints.hpp:444
Angle minAngle
Minimum angle between the attachment frames.
Definition joints.hpp:423
Angle maxAngle
Maximum angle between the attachment frames.
Definition joints.hpp:430
Impulse applied by the cone-shaped angular limit of a joint in a 3-dimensional world.
Definition joints.hpp:460
AngularImpulse2D lowerLimitImpulse
Impulse applied by the JointConeConstraint3D::minAngle limit during the last simulation step.
Definition joints.hpp:470
AngularMomentum2D upperLimitMomentum
Momentum of the JointConeConstraint3D::maxAngle limit.
Definition joints.hpp:475
AngularMomentum2D lowerLimitMomentum
Momentum of the JointConeConstraint3D::minAngle limit.
Definition joints.hpp:464
AngularImpulse2D upperLimitImpulse
Impulse applied by the JointConeConstraint3D::maxAngle limit during the last simulation step.
Definition joints.hpp:481
constexpr Pair(std::piecewise_construct_t piecewiseConstruct, std::tuple< Args1... > firstArgs, std::tuple< Args2... > secondArgs)
Definition Pair.hpp:95
constexpr JointConnectedObjects(Pair< EntityID > objectIDs) noexcept
Definition joints.hpp:44
Impulse applied by the distance limit of a joint.
Definition joints.hpp:256
LinearImpulse1D upperLimitImpulse
Definition joints.hpp:291
LinearMomentum1D lowerLimitMomentum
Definition joints.hpp:273
LinearImpulse1D lowerLimitImpulse
Definition joints.hpp:279
LinearImpulse1D driveImpulse
Definition joints.hpp:267
LinearMomentum1D driveMomentum
Definition joints.hpp:261
LinearMomentum1D upperLimitMomentum
Definition joints.hpp:285
Pair< Length< N > > lastOffsets
Definition joints.hpp:297
Distance limit of a joint.
Definition joints.hpp:197
Coefficient limitDampingRatio
Definition joints.hpp:236
Distance maxDistance
Definition joints.hpp:222
Force1D driveMaxForce
Definition joints.hpp:206
LinearVelocity1D driveTargetVelocity
Definition joints.hpp:201
Distance minDistance
Definition joints.hpp:214
Frequency limitStiffness
Definition joints.hpp:229
constexpr bool operator==(const JointDistanceConstraint &other) const noexcept=default
Compare this constraint to another constraint for equality.
Set of boolean properties of a joint.
Definition joints.hpp:582
constexpr bool operator==(const JointFlags &other) const noexcept=default
Compare these flags to another set of flags for equality.
Impulse applied by the linear limits of a joint.
Definition joints.hpp:148
LinearMomentum< N > lowerLimitMomentums
Definition joints.hpp:166
LinearMomentum< N > driveMomentums
Definition joints.hpp:153
LinearImpulse< N > lowerLimitImpulses
Definition joints.hpp:173
LinearImpulse< N > upperLimitImpulses
Definition joints.hpp:186
LinearMomentum< N > upperLimitMomentums
Definition joints.hpp:179
LinearImpulse< N > driveImpulses
Definition joints.hpp:160
Linear limits of a joint.
Definition joints.hpp:85
Length< N > maxOffsets
Definition joints.hpp:114
Rate< N > limitStiffnesses
Definition joints.hpp:121
Force< N > driveMaxForces
Definition joints.hpp:96
LinearVelocity< N > driveTargetVelocities
Definition joints.hpp:90
Quantity< N, Unitless > limitDampingRatios
Definition joints.hpp:128
constexpr bool operator==(const JointLinearConstraint &other) const noexcept=default
Compare this constraint to another constraint for equality.
Length< N > minOffsets
Definition joints.hpp:105
Angular limit of a joint in a 3-dimensional world around the local Y axes of the connected objects' a...
Definition joints.hpp:488
Torque2D driveMaxTorque
Maximum torque applied by the drive.
Definition joints.hpp:497
Angle minAngle
Minimum twist angle.
Definition joints.hpp:504
Frequency limitStiffness
Stiffness of the constraint limits.
Definition joints.hpp:518
Angle maxAngle
Maximum twist angle.
Definition joints.hpp:511
Coefficient limitDampingRatio
Damping ratio used when solving the constraint limits.
Definition joints.hpp:525
constexpr bool operator==(const JointTwistConstraint3D &other) const noexcept=default
Compare this constraint to another constraint for equality.
AngularVelocity2D driveTargetVelocity
Target velocity of the drive.
Definition joints.hpp:492
Impulse applied by the angular limit of a joint in a 3-dimensional world around the local Y axes of t...
Definition joints.hpp:541
AngularImpulse2D driveImpulse
Impulse applied by the JointTwistConstraint3D::driveMaxTorque torque during the last simulation step.
Definition joints.hpp:551
AngularMomentum2D driveMomentum
Momentum of the JointTwistConstraint3D::driveMaxTorque torque.
Definition joints.hpp:545
AngularImpulse2D upperLimitImpulse
Impulse applied by the JointTwistConstraint3D::maxAngle limit during the last simulation step.
Definition joints.hpp:573
AngularImpulse2D lowerLimitImpulse
Impulse applied by the JointTwistConstraint3D::minAngle limit during the last simulation step.
Definition joints.hpp:562
AngularMomentum2D lowerLimitMomentum
Momentum of the JointTwistConstraint3D::minAngle limit.
Definition joints.hpp:556
AngularMomentum2D upperLimitMomentum
Momentum of the JointTwistConstraint3D::maxAngle limit.
Definition joints.hpp:567
Absolute orientation in world space.
Definition quantities.hpp:4431
Configuration options for a prismatic joint.
Definition joints.hpp:845
LinearVelocity1D driveTargetVelocity
Definition joints.hpp:865
Frequency angularAttachmentStiffness
Definition joints.hpp:859
Frequency linearLimitStiffness
Definition joints.hpp:877
JointFlags< N > flags
Definition joints.hpp:892
Coefficient linearAttachmentDampingRatio
Definition joints.hpp:856
Coefficient angularAttachmentDampingRatio
Definition joints.hpp:862
Frequency angularLimitStiffness
Definition joints.hpp:886
constexpr bool operator==(const PrismaticJointOptions &other) const noexcept=default
Compare these options to another set of options for equality.
Force1D driveMaxForce
Definition joints.hpp:868
Angle restAngle
Definition joints.hpp:883
Coefficient linearLimitDampingRatio
Definition joints.hpp:880
Length1D maxOffset
Definition joints.hpp:874
Length1D minOffset
Definition joints.hpp:871
Pair< Orientation< N > > attachmentOrientations
Definition joints.hpp:850
Pair< Length< N > > attachmentOffsets
Definition joints.hpp:847
Coefficient angularLimitDampingRatio
Definition joints.hpp:889
Frequency linearAttachmentStiffness
Definition joints.hpp:853
Physical quantity type.
Definition quantities.hpp:1504
Configuration options for a fully constrained joint.
Definition joints.hpp:683
JointFlags< N > flags
Definition joints.hpp:703
constexpr bool operator==(const WeldOptions &other) const noexcept=default
Compare these options to another set of options for equality.
Coefficient linearDampingRatio
Definition joints.hpp:694
Frequency angularStiffness
Definition joints.hpp:697
Coefficient angularDampingRatio
Definition joints.hpp:700
Pair< Orientation< N > > attachmentOrientations
Definition joints.hpp:688
Frequency linearStiffness
Definition joints.hpp:691
Pair< Length< N > > attachmentOffsets
Definition joints.hpp:685