A personal wish of mine is to have mesh modification tools in Unity. Seeing ProBuilder become part of the engine is a delight, one that I cannot stop smiling at.
The goal of this blog post is to help you to overcome any barriers and start you on the right path to having fun playing with this toolset, using it efficiently and effectively to mitigate any risk of becoming frustrated. So, I wanted to share some tools and tips around using ProBuilder for the first time because it is an excellent tool! If you are a noobie to 3D or an experienced modeller, this post will provide you with some great insights into getting started with ProBuilder. I should mention this is not a step by step tutorial, but I will be sharing helpful tips to getting started in using the tools available to you.
Here are some great keyboard shortcuts that’ll get you building and modifying meshes in no time:
Ctrl + K – Spawns a Cube.
Ctrl + Shift + K – New Shape Tool.
Hold Shift while moving – Extrusion:
Hold Shift while scaling – Inset:
Alt + U – Insert Edge Loop:
Alt + E – connects verts/edges:
Alt + C – collapse verts (this will merge all selected verts into one vertex, centred at the average of all selected points):
Ctrl + Z – Undo – same as anything in Unity.
Escape key – reverts to object selection mode.
Use H, J, and K keys to chose between Verts, Edges and Faces selection modes.
Multi-select faces/edge/verts – Hold Shift and LMB.
Use backspace to delete verts/faces/edges – Delete will delete the object.
In general, tooltips can take 500ms or so to show, in ProBuilder this can be instant by holding the Shift key when hovering the mouse cursor over the feature buttons in the toolbar.
Now, I’ll share some tips and gotchas which I found are useful things to know, but first, if you are new, remember to start simple, common mistake is to start pushing too much geometry, this can become very complicated fast. Start by boxing out familiar shapes, it’s a lot easier to add geometry than to clean up complex geometry. Here we go:
When collapsing vertices, you might want to collapse them to the first vertex that you selected. To do this you need to click on the + button next to the Collapse Vertices option on the toolbar and select Collapse To First in the Options menu pop-up (be aware that all future Collapse Vertices will now Collapse To First if this checkbox remains enabled):
To select vertices that are hidden out of view on the opposite side of the geometry, you will need to ensure Select Hidden: On is enabled. By default, this is On so be aware when you go to select multiple vertices to modify them.
There are many circumstances where you will need to flip normals to invert the faces of your geometry, ProBuilder has a feature called Flip Face Normals located in the toolbar (you will need to first select some faces on your mesh):
Use Detach Faces to detach parts of a mesh to a new game object, useful for cleaning up meshes, especially if you have created some ngons. Things to be aware of when using this feature:
- The pivot will usually be in an incorrect position
- Use Centre Pivot selection from the toolbar
- For custom pivot positioning – select a vert – use Set Pivot
When using the New Shape tool to build Stairs. There is an option to uncheck Build Sides. If you know those sides of the object won’t be visible this is especially useful for:
- Not having to go back and clean this up manually yourself
- Optimal for baked lighting to ensure you not wasting texture space
- Also, helps reduce bake times
Preferences for ProBuilder – customise shortcut settings
If like me, you like to see how many faces, triangles and verts a mesh has (especially when building on the fly), you will need to enable this in Edit -> Preferences -> ProBuilder -> Show Scene Info (not a great name).
Used to make snapping easier, and excellent for controlling the unit size of your entire geometry, level design at it’s finest. Here are some quick tips:
- Use +/- keys to scale the grid size – you can change this on the fly depending on your requirements for mesh modifying
- Select all the verts – select the push to grid button to align current mesh with new grid size
Hold V to snap objects around
A great addition, and lets you sculpt, smooth, texture blend, paint on textures, scatter objects etc.
To sculpt you may need to add additional geometry to your mesh, you can do this via using the subdivide tool, the way this works is it grabs all edges and connects them to the centre, a straightforward implementation, with nothing extravagant happening here.
To sculpt you will need to select the Push tool, which will push (sculpt) vertices on your mesh depending on brush settings, some tips for quickly editing brush settings for sculpting:
- Hold ctrl to scroll brush up to a larger size
- Hold shift to change the interior diameter of the brush
- Hold shift + ctrl to adjust the strength (how much push will be applied to your mesh)
That’s it, I hope to write more of these posts over the coming weeks/months, please share your ProBuilder creations, I cannot wait to see what you create!