Hassle Free Level Boundaries in Unity3D
November 21, 2012 5 Comments
Creating constrained areas and general level boundaries can become tedious when dealing with more complicated design and structure. In the programming world, we call this giant waste of time boiler code. I suppose in the level design world, we can call it boiler design.
You can spend an hour or so adding in custom colliders to shape the bounds of your areas or levels. But, what happens if the scale was off and you need to tweak a few things… you have to go through and adjust everything (especially for height). This is a lot of wasted time and effort where it could be applied to what will count: your game/simulation/product.
Fortunately, there is a new tool available on the asset store. The Boundary Tool allows rapid creation of collision areas and each can be grouped and color coded for reference. They also can overlay to your scene view and they do not get in the way when dragging prefabs/models into the scene to place it on an actual mesh or terrain. It also supports tweaking the collision areas during editor playback so you can truly test the positioning of the “invisible walls” and your characters without the risk of publishing a level that has map exploits.
There is absolutely no integration code to be done. It is an editor extension designed for artists and level designers or a programmer who doesn’t have time for tooling when they could focus on gameplay and mechanics.
Here are some videos of it in action:
Disclaimer: I worked on this tool. However, it still addresses a large time sink in the level design workflow.