---
title: "Fence Builder - s&box library"
description: "Fence Builder\n\nFence Builder is a s&box editor library for placing fence pieces from reusable Fence Definition assets.\n\nSetup\n\n1. Install the library in your project.\n2. In the Asset Browser, create a `Fence Definition` asset.\n3. Add one or more entries. Each entry can use a `Model` or a `Prefab`; prefabs take priority.\n4. Set `RotationOffset` so the segment's forward direction matches how it should run along the fence.\n\nUse\n\n1. Open a scene and activate the `Fence` tool, or press `Ctrl+Shift+B`.\n2. Assign your `Fence Definition` in the tool sidebar.\n3. Use `Mode = Line` for a straight run: click once to set the start, click again to place.\n4. Use `Mode = Spline` for a curved run: hold left mouse, draw on a surface, then release to place.\n5. Press `Escape` to cancel the current run.\n\n- If you've placed an object/a lot of objects that the navmesh ignores/nav mesh agents walk through, I have added an ability to apply a nav-mesh blocker to them, it creates a new component inside the fence game object called nav mesh - area, the size of the fence/game object's collider that blocks the navmesh's creation around it. That is also present as a setting inside the fencedef files\n\nFence Builder measures each segment's bounds and advances placement by the measured length, so authored pieces line up without needing a fixed segment size."
canonical: "https://sbox.watch/fr/libraries/junglehamgames/fence-builder/"
generated_at: "2026-10-09T13:14:14.632Z"
---

# Fence Builder

Aucun résumé fourni.

- Type: bibliothèque
- Identifiant: junglehamgames.fence-builder
- Créateur: junglehamgames
- URL canonique: https://sbox.watch/fr/libraries/junglehamgames/fence-builder/
- Markdown: https://sbox.watch/fr/libraries/junglehamgames/fence-builder/index.md
- sbox.game: https://sbox.game/junglehamgames/fence-builder/
- Généré: 2026-10-09T13:14:14.632Z

## Statistiques

- dynamique sur 24 h: +0
- Terry Score: --
- Favoris: 0
- Votes positifs: 0
- Votes négatifs: 0
- Mis à jour: 9 mai 2026
- Créé: 5 mai 2026
- Taille: 75.0 KB
- Fichiers: 14
- Tags: tool

## Description

Fence Builder

Fence Builder is a s&box editor library for placing fence pieces from reusable Fence Definition assets.

Setup

1. Install the library in your project.
2. In the Asset Browser, create a \`Fence Definition\` asset.
3. Add one or more entries. Each entry can use a \`Model\` or a \`Prefab\`; prefabs take priority.
4. Set \`RotationOffset\` so the segment's forward direction matches how it should run along the fence.

Use

1. Open a scene and activate the \`Fence\` tool, or press \`Ctrl+Shift+B\`.
2. Assign your \`Fence Definition\` in the tool sidebar.
3. Use \`Mode = Line\` for a straight run: click once to set the start, click again to place.
4. Use \`Mode = Spline\` for a curved run: hold left mouse, draw on a surface, then release to place.
5. Press \`Escape\` to cancel the current run.

- If you've placed an object/a lot of objects that the navmesh ignores/nav mesh agents walk through, I have added an ability to apply a nav-mesh blocker to them, it creates a new component inside the fence game object called nav mesh - area, the size of the fence/game object's collider that blocks the navmesh's creation around it. That is also present as a setting inside the fencedef files

Fence Builder measures each segment's bounds and advances placement by the measured length, so authored pieces line up without needing a fixed segment size.



