Static helper that defines conversion constants between meters (SI) and the engine's units (Source inches). It provides MetersToUnits and UnitsToMeters constants used for unit conversion at engine boundaries.
namespace FieldGuide.VehiclePhysics;
/// <summary>
/// All vehicle math is done in SI units (meters, kg, N); convert only at the engine boundary.
/// s&box uses Source-style inch units.
/// </summary>
public static class Units
{
public const float MetersToUnits = 39.37f;
public const float UnitsToMeters = 1f / MetersToUnits;
}