Overview
Build invisible wall colliders by clicking points directly in the Scene View.
Wall Collider Creator is an Editor tool that generates clean BoxCollider GameObjects along the path you draw — ideal for blocking off level boundaries, fencing in playable areas, or adding collision to geometry that has none.
Requirements & Compatibility
- Unity version: 2021.3 LTS or newer.
- Render pipelines: Built-in, URP and HDRP are all supported. The tool automatically selects an appropriate transparent shader for the active pipeline to draw its Scene-view previews; it has no effect on the colliders it generates.
- Platforms: All platforms. The tool uses Unity's default colliders and introduces no new systems.
Installation
Import the package from the Package Manager, under the My Assets section (search online for "import Unity Asset Store package via Package Manager" if you need step-by-step guidance).
Once imported, open the tool from Tools ▸ Harpia Games ▸ Wall Collider Creator ▸ Open tool. No additional setup is required.
Quick Start
- Open the tool window (Tools ▸ Harpia Games ▸ Wall Collider Creator ▸ Open tool).
- Click Start in the header. The header bar turns green to show the tool is active (it's red while inactive).
- Move the mouse over your scene geometry. A green marker shows exactly where the next point will land, with a distance/position label.
- Left-click to drop points along the path your wall should follow.
- Adjust Wall Height, Wall Thickness and other settings — the transparent preview updates live.
- Click Finish. Real
BoxColliderobjects are created under a parent GameObject (default name "Wall Colliders"), and the tool resets.
Ctrl+Z / Ctrl+Y.Scene View Controls
While the tool is Active
- A green marker previews where your next click will land.
- If the cursor is over empty space (or geometry the raycast can't reach), an amber "No Raycast — Check your settings" alert appears by the cursor, warning that a click there won't place a point.
- Left-click in the Scene View adds a point.
- Click + drag is ignored, so normal scene navigation (orbit, pan) keeps working.
- Normal object selection in the Scene is temporarily blocked so clicks aren't consumed by other objects.
- ESC stops the tool.
At any time (whether Active or not)
- Drag any colored sphere handle to move that point. Dragged points snap back onto surfaces that match the Raycast Layers mask.
- Right-click a sphere handle to delete that point.
- Click an orange "+" dot at any segment midpoint to insert a new point there, splitting that segment in two for fine-tuning.
Keyboard
| Key | Action |
|---|---|
| ESC | Stop the tool (while active). |
| Ctrl+Z / Ctrl+Y | Undo / redo any add, move, insert or delete. The preview re-syncs automatically. |
| F | Launch a test sphere from the Scene camera (while the tool is active). See Testing Your Colliders. |
| R | Clear all spawned test spheres. |
Settings Reference
Settings are grouped by tab. The Tool tab holds Collider Creation; the Settings tab holds Raycast, Preview and naming options.
Collider Creation (Tool tab)
| Setting | Description | Default |
|---|---|---|
| Wall Height | Vertical size (Y) of the generated colliders. | 3 |
| Wall Thickness | Thickness of the generated colliders. | 0.1 |
| Vertical Offset Y | Extra Y offset applied to collider position. Positive = upward. | 0 |
| Horizontal Offset | Length added to both ends of every segment. Positive overlaps segments to close corner gaps; negative leaves a gap. | 0 |
| Close Loop | With 3+ points, adds a final segment from the last point back to the first, forming a closed shape. | Off |
| Add Capsule Colliders on Points | Adds a vertical CapsuleCollider at every point on Finish. Helps stop characters clipping through corner seams. | Off |
| Capsule Radius | Radius of each junction capsule (shown when capsules are enabled). Set it at least as wide as the wall thickness. | 1 |
| Collider Layer | Layer assigned to each generated collider GameObject. | Default (0) |
| Physics Material | Optional physics material assigned to every generated collider (walls and capsule caps). Leave empty to use Unity's default. | None |
Raycast Settings (Settings tab)
| Setting | Description | Default |
|---|---|---|
| Raycast Layers | Which layers the click raycast can hit. Points only land on geometry in these layers. | Everything |
| Max Raycast Distance | Toggle. When on, caps the click/placement raycast at the distance below (avoids snapping points onto far-away geometry); when off, the ray reaches infinitely far. | Off |
| Distance | Maximum raycast length in world units, shown when Max Raycast Distance is on. Minimum 1. | 200 |
Preview Settings (Settings tab)
| Setting | Description | Default |
|---|---|---|
| Preview Color | Tint of the transparent preview shapes. No effect on generated colliders. | Green, 45% alpha |
| Draw Boxes Edges | Draws the wireframe outline of every preview box in the Scene View, making segment extents and overlaps easy to read. | Off |
| Show Scene View GUI | Shows the on-screen overlays drawn in the Scene View (test status, hover hints, no-raycast warning, cursor label). Turn off to hide them; the point handles and preview boxes are unaffected. | On |
| Cursor Label | What to show beside the cursor marker: None, Distance, Position, or Distance + Position. | Distance |
Naming (Settings tab)
| Setting | Description | Default |
|---|---|---|
| Wall Instance Name | Base name for each generated collider GameObject; a two-digit index is appended (e.g. WallCollider_00). Defaults to WallCollider if left blank. | "WallCollider" |
| Parent Name | Name of the parent GameObject created in the scene. Reused if it already exists. | "Wall Colliders" |
Settings are remembered between sessions (stored in PlayerPrefs) and restored the next time you open the tool.
Testing Your Colliders
The Test Colliders section (Tool tab) lets you fire physics spheres at your wall before committing it, so you can confirm nothing slips through. Testing runs automatically while the tool is active — there is no separate start button.
Under the hood, the tool builds temporary, hidden colliders that match your current point chain (they are flagged so they are never saved into the scene), then runs Unity's editor physics simulation. So that the test never disturbs your level, every other Rigidbody in the scene is frozen for the duration — only the test spheres move. When you stop the tool, close the window, or enter Play Mode, all spheres and temporary colliders are removed and the scene's physics state is fully restored.
How to test
- Start the tool and place at least two points.
- Hover the Scene View and press F to launch a sphere from the camera, along the view direction, with the configured force.
- Press R (or the Clear Spheres button) to remove all spawned spheres.
Each sphere is given a random, vivid color and a random radius within the range you set, so overlapping spheres stay easy to tell apart. Spawning is rate-limited to one sphere every 0.2 seconds, so holding F won't flood the scene.
Testing options
| Setting | Description | Default |
|---|---|---|
| Launch Force | Impulse applied to each spawned sphere, along the Scene camera's forward direction. | 12 |
| Sphere Radius | Min–max slider (0.001–10). Each spawned sphere gets a random radius within this range. The current range is shown beside the slider. | 0.25 – 0.75 |
| Sphere Mass | Rigidbody mass of each spawned sphere. | 1 |
| Sphere Layer | Layer assigned to each spawned sphere. Checked against the Collider Layer (see warning above). | Default (0) |
| Sphere Physics Material | Optional physics material assigned to each sphere's collider (e.g. for bounciness or friction). | None |
| Interpolation | Rigidbody interpolation mode for spheres (None, Interpolate, Extrapolate). | Interpolate |
| Collision Detection | Rigidbody collision detection mode (Discrete, Continuous, Continuous Dynamic, Continuous Speculative). Continuous modes help fast spheres avoid tunneling through thin walls. | Continuous Dynamic |
| Max Spheres | Maximum live spheres. The oldest is recycled past this limit to keep the simulation fast. | 150 |
| Use Gravity | When on, spawned spheres fall under gravity. Turn off to fire them in a straight line. | On |
What Gets Generated
On Finish, the tool creates:
- One
BoxColliderGameObject per segment, named<Wall Collider Instance Name>_00,_01, … (defaultWallCollider_00,WallCollider_01, …). Each is positioned and rotated to span its segment, with scale left at(1,1,1)and the size baked into the collider to avoid non-uniform scaling issues. - Optionally, one
CapsuleColliderper point (namedWallCap_00, …) when Add Capsule Colliders on Points is enabled.
All generated objects are parented under the GameObject named by Parent Name. The whole operation is a single undo step.
Tips
- Enable a small positive Horizontal Offset (e.g. half your wall thickness) to overlap segments and eliminate tiny gaps at corners.
- For enclosed areas (rooms, arenas), turn on Close Loop so the path seals itself automatically.
- If fast-moving characters clip through corners, enable Add Capsule Colliders on Points with a radius matching your wall thickness.
- Use a dedicated Collider Layer (e.g. a "Walls" layer) to keep generated colliders easy to filter in physics queries.
Troubleshooting
Points won't place / clicks do nothing. The click raycast only hits colliders on the Raycast Layers mask. Make sure your target surface has a collider and its layer is included in the mask.
"No Raycast — Check your settings" keeps showing. The cursor isn't hitting any valid geometry. Common causes: the surface's layer isn't in Raycast Layers, Max Raycast Distance is set too short to reach the surface, or you're simply pointing at empty space. Widen the mask, raise the distance, or aim at geometry that has a collider.
Preview shapes look opaque or wrongly colored. The preview uses a transparent material chosen for your active render pipeline. If you switched pipelines mid-session, close and reopen the tool window so the material is rebuilt.
Generated colliders are offset vertically. Check Vertical Offset Y. The colliders are centered at half the wall height above the clicked ground point, plus this offset.
Support
📧 Email Support — for detailed queries, bug reports or technical issues, reach out at harpiagamesstudio@gmail.com. We aim to reply within 48 hours.
💬 Discord Community — join the Harpia Games Community for real-time support, tips and updates. Ask questions, share your projects and stay updated on new features.
More tools from Harpia Games
Check out our other tools and assets on the Unity Asset Store.
Prefab Brush – Easy Object Placement Tool & Level Designer
Icon Creator – Generate Fast, Easy & Complete Icons
PerfectShot – Marketing & Icons Editor Tool
Quick Animation Events – Manage Animation Events Easily
Low Poly Color Changer – Easy Color Changing & Variations
Ultimate GameObject Replacer – Level Design Tool
Better Delete – Project Cleaner & References Finder
Top Menu Shortcuts – Speed Up Your Workflow
Camping Low Poly – Survival, Nature & Hiking 3D Models (FREE)