My journey becoming a Unity game developer: Make a game look beautiful-Creating Columns pt.2
Objective: Use the original Column prefab to make a new column to be used in creating an Archway that will be positioned in the hallway.
We’re going to create a different size column to be used for the archways which will be positioned in the hallway area. Let’s start by duplicating a Column 01 object and renaming it Column 02. Right-click on Column 02 object and select Prefab->Unpack to break this instance being a prefab.
We will position Column 02 object onto one corner of the wall. Select the upper middle pillar of the column and delete it. Grab the top piece of the column and ‘V’ snap it to the lower pillar of the column.
Now to reuse this Column 02 object with its new changes, drag it into the Prefabs folder under the Columns folder.
Next, duplicate the Column 02 object and place it across from the original Column 02 object making sure to rotate it to face each other.
Now select the middle pillar of the column and duplicate it. Position it to come out of the open end of the top piece of the column. Make sure to rotate the pillar to have the brown painted end facing the middle of the archway. Duplicate this pillar, move it to the other open end of the opposite top part of the column making sure to rotate the brown painted end to face the middle of the archway.
To place an object in the middle of these 2 pillars, duplicate the top part of Column 02. Place it in between the 2 pillars, rotating it to have the neck of the top piece facing outward from the middle of the pillars.
Duplicate this middle piece, move it to the back part of the 1st middle piece, and rotate it around to have the neck facing outward from the middle part of the archway. Using the ‘V’ snap technique, attach the 2nd piece to the 1st piece making it one whole part for the middle of the archway.
We need to cover the open end on each side of the middle piece. We will use Scifi Floors 10 game object and make it a child of that particular end of the middle piece in the archway. Scale down this object and move it enough inside the end to make it look like it was made onto this asset.
Drag the Scifi Floors 10 object making it a child of the other end of the middle piece, rotate it around 180 degrees, and drag it across to the other end of the middle piece.
Shift the middle piece to align directly in the middle of the 2 archway’s pillars.
Then, scale the middle piece out to attach to the 2 pillars.
Since we have a numbers of assets in the Hierarchy making up this archway, we will organize them inside of a new Empty game object name Door Archway. Select all of the assets making up the archway, and drag them into the Door Archway object. Take the Door Archway object and make it a prefab by dragging it into the Columns folder under Prefabs.
We can now see the final results of the archway, and since it’s a prefab we can use it to add another archway in the hallway.
With the Door Archway game object selected, duplicate this object and place it down the end of the hallway.
One final thing we want to do is organize all these columns we created by creating an Empty game object name Columns. Select all the Columns and Door Archways in the Hierarchy and drag them into the Columns game object.