- Home /
How to scale an object in editor with absolute or percentual values?
Maybe it is not possible but I'm looking since hours for an other way to change the size of an object.
Is that the only possibility to change the size of an object?
Why can't I say one object is 10cm width and the other one is 50% of that width? I want to create objects in the editor not with scripts. Or does Unity not support measurement/scale (cm, mm, m, feet ...)?
Unity works in units. What the units are is up to you. Why not just say that 10 units is 10 centimeters? If precision is required, used an ortho camera and set your size to give you exact unit sizes.
Answer by equalsequals · Jul 01, 2013 at 06:48 PM
Short answer is no, this is not built in.
To elaborate, Unity keeps the scale in arbitrary units as a way to keep things general. One rule of thumb is that one meter in Maya, imported at a scale of 1 is 1 Unity world unit. A Unity cube primitive is 1x1x1 unit and a plane primitive is 10x10 units. So by that logic, a Unity cube primitive at a scale of .01,.01,.01 is 1 cubic centimeter and a primitive plane at a scale of 100,1,100 (the y is irrelevant as it is a plane) is 1 square kilometer.
Hope that helps.
==
Aha ... ok many thanks for that explanation.
That difference between a plane and a cube was until now also a mystery for me. I couldn't see any size for the plane, the scale is only 1, 1, 1 but it is much larger then a cube.
It's not so important but is there any reason/explanation or documentation why the plane is not in the same size like a sphere or a cube?
Not that I am aware of. If this answer helped, please mark it as accepted so that other users wondering the same thing might find it easier.
If it is easier for your program$$anonymous$$g to have a 1x1 plane, you can create one using the CreatePlane editor script. It will also produce a plane with vertical as its (0,0,0) rotation.
Answer by LarryTheBrave · Apr 20, 2019 at 04:52 PM
Assume "1" in unity means 1 meter, and have everything scale at 1, which is actually a percentage of the original size. I agree that it's a cumbersome way but to get around that use blender to edit the model first, having blender set as 1=1 meter. If an object is not in meters then use import settings in Unity to convert the way you would otherwise such as 1 inch = 0.0254 meters.