Modular house
Last updated
Last updated
A modular house is a collection of assets that are similar in size. For example: the length of all walls is a multiple of 10 centimeters. This allows us to assemble a house of any shape from different pieces, without the need to change the scale of assets.
But if all the parts of the house fit well with each other and we don't need to change their scale - why do we need a plugin?
When creating a building without a plug-in - you need a surface on which you will place the walls. In a plugin, this is optional. Thing you can change the height of the "Grid Floor" at any time, and place the walls on the grid even on the second floor, or above the void.
In this example, we will build a house from assets downloaded from the store:
You should always start by setting the Floor Height of the Grid. It is on it that we need to create walls for modular buildings. How to do this is described in detail in the last lesson:
Also, be sure to set size of "Editor Grid" in the upper right corner of the editor. The size of the grid must match the multiples of the length of the walls. In my case, this number is 10.
I hope you have already read the last lesson. In it we examined how the "Axis System" works. She will be very useful here.
After the wall is created, the "Saved Root Point" (yellow point) is updated. Therefore, to create the next wall, it is enough to select the axis (X / Y) along which the next wall will be created, and move the mouse.
Now we need to create the floor in our house. To do this, change the height of the "Grid Floor" as usual. In my example, "Vertex Snapping" will help me (Press V ).
But alas, the size of the floor does not fit the size of my house. I need to rescale all assets so that the size fits. But changing the scale with your hands is very long and difficult. And the plugin allows you to use the Vertex position for accurate and fast scaling.
But first you need to add all the floor elements to change the scale for all at once. To do this, activate the "Additional building parts" mod - Ctrl + A. And now add all the parts you want.
When you add all the parts you want, click Escape.
Now we can change the scale of all assets at once. To do this, activate the "Scale Bound" mod - Ctrl + V. It will allow you to resize the binding of all the selected assets so that its edge touches the selected point.
When activating the mod, the Selected Axes will be empty! Be sure to select the desired axis after activation.
In my case, I pressed Shift + Z. Thus, I selected all axes except Z. Namely, X and Y.
In my example, the position of the Root point for the assets is at the top. Therefore, we need to change the position of the Floor Grid.
But first you need to install at least one roof asset. To do this, move the position of its point downward.
To do this, activate the "Root change" mod - Ctrl + V, select the axis along which you want to move the Root Point. And then press LMB.
In my case, I select the Z-axis. And moved the Root point so that it touches the edge of the walls. Then I repositioned it so that it would fit against the wall using the Grid.
Now we can change the height of the "Grid Floor". And add all the roof assets just like we did with the wall assets: