WheeledVehicleSpring
Defines the properties of a WheeledVehicle spring.
Public Attributes
float
Force applied to equalize extension of the spring on the opposite wheel.
float
Force applied to slow changes to the extension of this spring.
float
Maximum spring force (when compressed to minimum length, 0).
float
Maximum spring length. ie. how far the wheel can extend from the root hub position.
Detailed Description
Defines the properties of a WheeledVehicle spring.
Public Attributes
float antiSwayForce
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.
float damping
Force applied to slow changes to the extension of this spring.
Increasing this makes the suspension stiffer which can help stabilise bouncy vehicles.
float force
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.
float length
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.