- Firstly starting from Blender, delete the cube which is pre-added in the workspace and then add a cube by using shortcut (SHIFT+A) {you can also see shortcuts using the SPACEBAR button}.
- Transform it using the transform tool from the toolbox present at the left side of the Blender Window. OR you can use keyboard shortcuts like - use S+X to transform in X-axis, S+Y to transform in Y-axis, and S+Z to transform in Z-axis into a platform.
- Now as the platform is ready then set the dimensions of the platform as you need for your maze. For now let's take the example like we can build a 10 X 10 platform and take some thickness for extruding maze.
- Now press the TAB button to start edit mode and then select the Loop Cut Tool from the edit mode menu.
- Using a loop cut tool to cut the platform into small cubes of equal dimensions, let's say cube of 1 X 1.
- Now select the SELECT tool from the left side of the window, there are three options of Select Tool {EDGE selection, VERTEX selection, and FACE selection} on the top left corner just above the SELECT tool option**.**
- Here we have to select the FACE selection option, not the EDGE selection because walls will be very thin if we extrude using the EDGE Selection Tool and it can create glitches like the person will be able to go through the walls while working in UNITY.
- So for selecting the small cubes for extruding press the SHIFT button with the selection tool by clicking on the particular cubes. According to the map you want for your maze.
- Then select the extrude region tool from the toolbox tool from the left side of the window. Or you can use the keyboard shortcuts {SPACE+SHIFT+E} and then extrude the cubes to make the walls of the maze.
- If any cube lefts unextruded you can just press CTRL+Z to undo it and then again select the cubes carefully and then repeat the process. And not for this particular extrusion part you can use CTRL+Z to undo anything in the BLENDER.
- After the extrusion part, you can see your maze ready. That's all you have just completed the 1st part of your project.
- Delete the light and the camera present in your blender workspace from the right side of your blender window, in the scene collection tab or you can simply select camera and light from that tab and press the Delete button.
- We are deleting it because these are also present in the UNITY workspace and using unity’s light and the camera is more beneficial. So now as your maze is ready we have to save it and export it.
- For both steps go to the FILE menu in the navigation bar and select the SAVE option. Now if we have to do other parts of the project we have to export the maze in {.FVX} extension so that it can be imported into the unity workspace.