Change Default Units to cm

My team is working on an AR project in which the user is seeing small objects in a real environment. The problem that we are having is that having the default unit scale being 1 meter means that we often have to use sub 1 (.01) numbers for many variables such as distance ranges. Imagine an RTS game playing on your coffee table, but also a virtual human standing next to you. We need to have very fine control over the tiny units, but Unity doesn’t like such small numbers.

How can we change the default unit to centimeters? This isn’t an issue for bringing models in at the right scale, we can handle that.

Any suggestions?

Unity by default uses 32-bit floats (the Mathf library). That should have plenty of precision for what you are trying to do. Are you perhaps seeing some kind of other numeric artifact happening?

Or are you saying that you don’t want to see such small numbers in your display windows? If it is just your display and not wanting to show “Unity is 0.12 meters away” then simply make a distance number formatter that the entire game can use that multiplies everything by (for example) 100 before displaying it.