Instance Property

suspensionStiffness

The spring coefficient of the suspension between the vehicle and the wheel.

Declaration

@property CGFloat suspensionStiffness;

Discussion

The spring coefficient determines both how quickly the wheel returns to its natural position after a shock (for example, when the vehicle runs over a bump) and how much force from the shock it transmits to the vehicle. The default spring coefficient is 2.0.

See Also

Simulating Suspension

suspensionCompression

The coefficient that limits the speed of the suspension returning to its rest length when compressed.

suspensionDamping

The damping ratio that limits oscillation in the vehicle’s suspension.

maximumSuspensionTravel

The maximum distance that the wheel is allowed to move up or down relative to its connection point, in centimeters.

maximumSuspensionForce

The maximum force of the suspension between the vehicle and the wheel, in newtons.

suspensionRestLength

The resting length of the suspension, in meters.