Enum SpeedLimiterModule.SpeedUnits
Speed unit options for the speed limiter configuration.
Namespace: NWH.VehiclePhysics2.Modules.SpeedLimiter
Assembly: NWH.VehiclePhysics2.dll
Syntax
public enum SpeedLimiterModule.SpeedUnits
Remarks
Allows designers to set speed limits in familiar units rather than always using m/s. The module automatically converts all units to m/s internally for calculations.
Fields
| Name | Description |
|---|---|
| kmh | Kilometers per hour (km/h) - Common in most countries. |
| mph | Miles per hour (mph) - Common in US and UK. |
| ms | Meters per second (m/s) - Unity's native speed unit. |