- Home /
actual size of an object
How do I find out the actual size of an object? It doesn't seem to be in the scale. I createt a primitive "plane" und a primitive "cube". both have the x,z scale of 1,1 but the plane is much larger than the cube even soo it has the same scale. I want to resize the pplany by script, so it can carry a variable number of cubes. How do i find out the actual size?
I have never used the 'plane' primitave, but for your scene, you could 'cheat' and make a cube that acts as the plane, just give it a small thickness and you have .... a (sort-of) plane, but now the size is in direct ratio to your other cubes =]
Answer by fschaar · Jul 06, 2012 at 06:34 AM
Yeah, good Idea - that's how I did it. Thanks
Answer by LarryTheBrave · Aug 20, 2019 at 02:29 AM
Put a Box (or Sphere) Collider on the object. Then, see the XYZ size (or radius) of that in the Inspector, and assume it is meters.
unfortunately the collider size displayed is 1x1x1 even if my object size is 10x300x10