Static utility class for unit conversion between meters and engine units. It defines constants MetersToUnits and UnitsToMeters for converting between SI meters and s&box/Source-style units.
namespace VehicleProto;
/// <summary>
/// All vehicle/generation math is done in SI units (meters, kg, N); convert only at the
/// engine boundary. s&box uses Source-style inch units (spec Q1).
/// </summary>
public static class Units
{
public const float MetersToUnits = 39.37f;
public const float UnitsToMeters = 1f / MetersToUnits;
}