Tech - Week Five
This past week I have been working on the Modular Building Tool. The base functionality of the tool I had already built in the first few weeks of the project, so I have been focusing on adding all the additional functionality we wanted and optimising what I had already done so that it bug free.
![Base functionality.png](https://static.wixstatic.com/media/4d824d_d873878857cb4a4393fd3d1de9e0030b.png/v1/fill/w_601,h_657,al_c,q_90,enc_auto/4d824d_d873878857cb4a4393fd3d1de9e0030b.png)
The base of it allows you to add walls and roof modular pieces but we wanted it so that you can add additional meshes in certain places to further add to the complexity of the building. I started off this week by making it so that you can add corner pieces to the building. These allow you to add a mesh that covers the hard edge sometimes created when putting 2 modular pieces together and also covers up any overlapping issues that may be caused. This is done in a similar way how the walls are placed but only places them on the corners, meaning it scales with the building correctly.
As well as the corner pieces we wanted to be able to add additional furniture meshes to dress the building to further take away from the modular feel. I have started implementing this and will hopefully have it finished by the start of next week.
![Corners.png](https://static.wixstatic.com/media/4d824d_e56912df311f43f08a3be28000f617a8.png/v1/fill/w_941,h_521,al_c,q_90,enc_auto/4d824d_e56912df311f43f08a3be28000f617a8.png)
We have realised that when changing what wall meshes are being used it is difficult to work out what mesh it is you’re changing when all you have is a number as reference. So I’m going to be adding it so that it shows you on the building what number in the details panel references what number on the building itself. As well as this, having the name of which face you are looking at so that you know which face is the front, left, right, back needs to be implemented so that’ll a priority for next week also.