diff --git a/Jolt/Physics/Constraints/SwingTwistConstraint.h b/Jolt/Physics/Constraints/SwingTwistConstraint.h index 693d097ac..b951f1e22 100644 --- a/Jolt/Physics/Constraints/SwingTwistConstraint.h +++ b/Jolt/Physics/Constraints/SwingTwistConstraint.h @@ -42,12 +42,12 @@ class JPH_EXPORT SwingTwistConstraintSettings final : public TwoBodyConstraintSe Vec3 mPlaneAxis2 = Vec3::sAxisY(); ///@name Swing rotation limits - float mNormalHalfConeAngle = 0.0f; ///< See image. Angle in radians. - float mPlaneHalfConeAngle = 0.0f; ///< See image. Angle in radians. + float mNormalHalfConeAngle = 0.0f; ///< See image at Detailed Description. Angle in radians. + float mPlaneHalfConeAngle = 0.0f; ///< See image at Detailed Description. Angle in radians. ///@name Twist rotation limits - float mTwistMinAngle = 0.0f; ///< See image. Angle in radians. Rotation will be limited between [mLimitsMin, mLimitsMax] where mLimitsMin \f$\in [-\pi, 0]\f$ and mLimitsMax \f$\in [0, \pi]\f$ - float mTwistMaxAngle = 0.0f; ///< See image. Angle in radians. + float mTwistMinAngle = 0.0f; ///< See image at Detailed Description. Angle in radians. Rotation will be limited between [mLimitsMin, mLimitsMax] where mLimitsMin \f$\in [-\pi, 0]\f$ and mLimitsMax \f$\in [0, \pi]\f$ + float mTwistMaxAngle = 0.0f; ///< See image at Detailed Description. Angle in radians. ///@name Friction float mMaxFrictionTorque = 0.0f; ///< Maximum amount of torque (N m) to apply as friction when the constraint is not powered by a motor