Type Function Library physics.* Return value Number Revision Release 2024.3703 Keywords MKS conversion See also physics.fromMKS()
Convenience function for converting from Corona units to MKS units.
physics.toMKS( unitName, value )
String. Can be one of the following values:
"length"
"velocity"
"angularVelocity"
Number. The value to convert from Corona units to MKS.
local mks_units = physics.toMKS( "velocity", 16 )