Skip to content

Commit

Permalink
Chore: docs typo (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeXXik authored Dec 29, 2023
1 parent 1cbd220 commit f58e2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jolt/Physics/Vehicle/Wheel.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class JPH_EXPORT WheelSettings : public SerializableObject, public RefTarget<Whe
SpringSettings mSuspensionSpring { ESpringMode::FrequencyAndDamping, 1.5f, 0.5f }; ///< Settings for the suspension spring
float mRadius = 0.3f; ///< Radius of the wheel (m)
float mWidth = 0.1f; ///< Width of the wheel (m)
bool mEnableSuspensionForcePoint = false; ///< Enables mSuspensionForcePoint, if disabled, the forces are applied at the collision contect point. This leads to a more accurate simulation when interacting with dynamic objects but makes the vehicle less stable. When settings this to true, all forces will be applied to a fixed point on the vehicle body.
bool mEnableSuspensionForcePoint = false; ///< Enables mSuspensionForcePoint, if disabled, the forces are applied at the collision contact point. This leads to a more accurate simulation when interacting with dynamic objects but makes the vehicle less stable. When setting this to true, all forces will be applied to a fixed point on the vehicle body.
};

/// Base class for runtime data for a wheel, each VehicleController can implement a derived class of this
Expand Down

0 comments on commit f58e2c9

Please sign in to comment.