---
description: Here you'll learn what each character building component does.
---

# Building

## Player Building Input (Behaviour)

{% hint style="info" %}
Delegates building input (using the new Unity Input System) to the IBuildController and IStructureDetector modules.
{% endhint %}

## Character Build Controller (Module)

**Follow Character Rotation:** Should the "placeables" follow the rotation of the character?

**View Angle Threshold:** Max angle for detecting nearby sockets.

**Rotation Speed:** How fast can the "placeables" be rotated.

**Build Range:** "Max building range.

**Buildable Mask:** Tells the controller on what layers the "buildables" are.

**Free Placement Mask:** Tells the controller on what layers can "placeables" be placed.

**Overlap Check Mask:** Tells the controller what layers to to check when checking for collisions.

**Place Sound:** Sound to play when placing an object.

**Invalid Place Sound:** Sound to play when the controller tries to place an object but detects a collision.

## Character Build Effects (Behaviour)

{% hint style="info" %}
Plays effects based on the IBuildController events.
{% endhint %}

## Character Structure Detector (Module)

{% hint style="info" %}
Detects nearby building previews (structures)
{% endhint %}

**Max Detection Distance:** The max detection building preview distance.

**Max Detection Angle:** The max angle detection building preview.
