|
WheeledVehicleSpring Class Reference
[Vehicles]
Defines the properties of a WheeledVehicle spring. More...
Public Attributes | |
float | antiSwayForce |
Force applied to equalize extension of the spring on the opposite wheel. | |
float | damping |
Force applied to slow changes to the extension of this spring. | |
float | force |
Maximum spring force (when compressed to minimum length, 0). | |
float | length |
Maximum spring length. ie. how far the wheel can extend from the root hub position. |
Detailed Description
Defines the properties of a WheeledVehicle spring.
Member Data Documentation
Force applied to equalize extension of the spring on the opposite wheel.
This force helps to keep the suspension balanced when opposite wheels are at different heights.
Force applied to slow changes to the extension of this spring.
Increasing this makes the suspension stiffer which can help stabilise bouncy vehicles.
Maximum spring force (when compressed to minimum length, 0).
Increasing this will make the vehicle suspension ride higher (for a given vehicle mass), and also make the vehicle more bouncy when landing jumps.
Maximum spring length. ie. how far the wheel can extend from the root hub position.
This should be set to the vertical (Z) distance the hub travels in the associated spring animation.