- Home /
Using the grid in Unity3d
Is it possible to enable a grid that allows you to make cubes (for example) like exactly 1.0 units wide, 3.0 units tall, and 10.0 units deep? When I made a cube it's always (for example) 1.24859315 units wide. I want to make it exactly 1.0, so it's easier to make houses and stuff like that.
Thanks in advance.
Answer by Keavon · Jun 25, 2011 at 03:37 PM
Good question about the grid, but I have an answer for some of your question. In Unity, to create a cube, GameObject > Create Other > Cube. That will automatically make a cube with the XYZ dimensions of 1. You may also change the unity dimensions in the Inspector window. I hope this helps!
Answer by technoviking · Jun 25, 2011 at 03:46 PM
Thanks for your answer but then it still takes a lot of time to place it in the right position. If a house consists of a few hunderd cubes this is going to take me a loooot of time. I want to be able to position and rescale it 1 unit at the same time in the scene view, so making a house doesn't take too long.
Please don't make houses of 100 cubes. It is far from optimal, because a lot of faces of the cubes won't be visible at all. Unity is not a modeling program, it is used for the game logic. It is good practice to already create your house in a program like Blender.
Answer by Bunny83 · Jun 25, 2011 at 05:25 PM
Just hold CTRL while using any transformation tool. Scaling will be snapped to 0.1, movement to 1.0 and rotations to 15° by default. This can be changed in the Edit menu ->SnapSettings
Just take a look at this page:
http://unity3d.com/support/documentation/Manual/Positioning%20GameObjects.html
esp. the vertex snapping is really nice ;) hold down "v".
Your answer
Follow this Question
Related Questions
how do i create a "randomized infinite grid"? details here.. 2 Answers
Grid on scene view on Unity 3.4 1 Answer
Help with array/lists manipulation in Editor script 1 Answer
How can I make a transparent grid out of a plane? 1 Answer
2 dimensional grid of GameObjects, access in different GameObje 0 Answers