- Home /
What does unity measure distance in?
Hello, All...
I would like to know what unity uses to measure distance.
When you set the resolution of your terrain it has the width and length, what does it measure it by?
Thanks - Gibson -
Answer by duck · May 19, 2010 at 06:48 PM
By default, the units in Unity are meters. So the default size for terrains is 1000m x 1000m, with a max height of 600m. You can change this in the Terrain->Set Resolution menu.
The default settings for gravity, and audio dopplar also reflect the default 1 unit = 1m.
This means that if you want to use the units as some other distance (eg, inches, feet, miles, or whatever), as well as importing models scaled to this new size, you'll also need to adjust the gravity and dopplar settings accordingly so that they produce sensible results for your new world scale.
Answer by Ashkan_gc · May 19, 2010 at 07:03 PM
all units in unity are in meters. mass is in kg.
Units in Unity are just units. They are meters only if you define them as meters (such as with gravity as Duck mentioned). $$anonymous$$ass also uses arbitrary units, it's not kg. It's perfectly acceptable to use a mass of 1 for something like a car, in fact the docs suggest keeping mass values in the range of .1 to 10.0.
Your answer
Follow this Question
Related Questions
Make a simple tree 1 Answer
How to measure width and hight in a object in unity using c# codes ? 1 Answer
Measuring the length of Objects 5 Answers
Terrain help :c 1 Answer