VehicleWheel.brake

Slows down the wheel by applying a braking force. The wheel is only slowed down if it is in contact with a surface. The force you need to apply to adequately slow down your vehicle depends on the RigidBody.mass of the vehicle. For a vehicle with a mass set to 1000, try a value in the 25 - 30 range for hard braking.

  1. double brake [@property getter]
    struct VehicleWheel
    @nogc nothrow @property
    double
    brake
    ()
  2. double brake [@property setter]

Meta