# Components

Components are spawned in as a separate actor for each building object that uses them. The only exceptions are building objects that utilize only destructible/chaos components, which only spawn the actor on the client side at the moment the building object is destroyed. Other components, such as particle, niagara, light, audio, and UBS\_Transform, cause an actor to be spawned with the building object. The components themselves are not spawned until they are needed. For instance, if they are set to toggleable, then they are not spawned until toggled on. If they are persistent, then they will be spawned with the actor.

<figure><img src="https://1839238237-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWjU7bSayXkXSDn5yzIdC%2Fuploads%2Fz3RCZ7gGoQqJ1OGig8ur%2Fimage.png?alt=media&#x26;token=d7d30a78-144a-4285-adbf-7621af8a8190" alt=""><figcaption></figcaption></figure>

**Component**: The actor component to be added to the building object.\
**Relative Transform**: The transform of the component relative to the building object.\
**Info**: Info settings explained on separate pages.\
**Override Collision?**: Do you want to customize the collision settings?\
**Collision**: Collision settings shown further down.\
**Override Physics?**: Do you want to customize the physics settings?\
**Physics**: Physics settings shown further down.\
**Can Toggle?**: Is this component toggled on/off through player interaction?\
**Enabled?**: Should this component start enabled when the building object first spawns?

<figure><img src="https://1839238237-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWjU7bSayXkXSDn5yzIdC%2Fuploads%2FdTj1QPYCDtdvxp1E3K9D%2Fimage.png?alt=media&#x26;token=3780aa67-d3b8-4664-84ac-ec9a935429ab" alt=""><figcaption></figcaption></figure>

Only certain components can have their settings customized. I have currently chosen the most common components, but more can be added by request, or you can add them yourself by editing the structs associated with the components. The information for each component above is explained on separate pages.

{% content-ref url="components/particle" %}
[particle](components/particle)
{% endcontent-ref %}

{% content-ref url="components/niagara" %}
[niagara](components/niagara)
{% endcontent-ref %}

{% content-ref url="components/light" %}
[light](components/light)
{% endcontent-ref %}

{% content-ref url="components/audio" %}
[audio](components/audio)
{% endcontent-ref %}

{% content-ref url="components/transform" %}
[transform](components/transform)
{% endcontent-ref %}

{% content-ref url="components/destructible" %}
[destructible](components/destructible)
{% endcontent-ref %}

{% content-ref url="components/chaos" %}
[chaos](components/chaos)
{% endcontent-ref %}

<figure><img src="https://1839238237-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWjU7bSayXkXSDn5yzIdC%2Fuploads%2Faec8QXCEl0Dnay1c8Awd%2Fimage.png?alt=media&#x26;token=47833b2a-4852-41fa-9653-3ebdb0a2a9cb" alt=""><figcaption><p>The collision settings you can customize.</p></figcaption></figure>

**Physical Material Override**: \
**Generate Overlap Events?**: \
**Can Character Step Up On**: \
**Collision Profile Name**: \
**Use CCD?**: \
**Multi Body Overlap?**: \
**Trace Complex on Move?**: \
**Return Material on Move**:&#x20;

<figure><img src="https://1839238237-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWjU7bSayXkXSDn5yzIdC%2Fuploads%2FgcjUa8ZN4oVZn74jyoz2%2Fimage.png?alt=media&#x26;token=26661ed0-685e-405f-98e2-fd9633bc11b3" alt=""><figcaption><p>The physics settings you can customize.</p></figcaption></figure>

**Simulate Physics?**: \
**All Mass Scale**: \
**Linear Damping**: \
**Angular Damping**: \
**Enable Gravity?**: \
**Constraint Mode**: \
**Ignore Radial Impulse?**: \
**Ignore Radial Force?**: \
**Apply Impulse on Damage?**: \
**Replicate Physics to Autonomous Proxy?**: \
**Walkable Slope Override**: \
**Should Update Physics Volume?**:&#x20;
