A small utility class for unit conversion used by vehicle physics. It defines constants to convert between meters (SI) and engine world units (Source-style inches).
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;
}