Enum Brakes.HandbrakeType
Defines how the handbrake responds to input and maintains its state.
Namespace: NWH.VehiclePhysics2
Assembly: NWH.VehiclePhysics2.dll
Syntax
public enum Brakes.HandbrakeType
Remarks
Standard: Traditional handbrake behavior - active only while input is held down. Release the input and the handbrake immediately disengages. Good for racing games and drift scenarios where precise handbrake control is needed.
Latching: Toggle-style handbrake - first input press engages, second press disengages. Simulates a mechanical parking brake that locks in position. With analog input, the latched strength corresponds to the maximum input value reached during engagement. Good for parking and realistic vehicle behavior.
Fields
| Name | Description |
|---|---|
| Latching | Handbrake toggles on/off with each input press, latching in position |
| Standard | Handbrake is active only while input is held |