I’m not sure if this has been made yet, but I thought it would be helpful resource for developers, especially now that imported 3D models are becoming more commonplace, if not more common than blocks themselves.
My motivation for creating this simple conversion API is that I see alot of developers, especially in the first person shooter genre, making map copies or homages to other games, and they are very rarely to scale. I think you can use this API for a lot of additional things including custom physics, rigs, vehicles, etc.
The code has two separate styles of conversions, one which is realistic and converts to a 1:1 scale with real human earth-like measurements. The other converts based on canon created by Sorcus in a 2012 blogpost (which is roughly 1/5th realscale).
The API has it’s own help function, if you call module.Help() it’ll print out a general overview for you. You can also just look at the code for the help function, which contains all the information anyways.
The code is designed to be run in a modulescript, here is the raw code if you just want to copy/paste:
Here is the script file: Measurement.lua (4.3 KB)
And lastly here is a library model containing the module: https://www.roblox.com/library/3822513323/Roblox-Unit-Conversion
In a realistic 1:1 scale robloxians live on an earth with a gruelingly lethal 6.77 Gs of gravity. This would make sense because roblox’s GetMass() function is assuming everything is roughly 1/5th realscale. Even so, this could explain why all normal robloxians are more wide than they are tall.
EDIT: Fixed an issue with the SI measurements