> For the complete documentation index, see [llms.txt](https://sulleyyys-organization.gitbook.io/manuals-of-ccs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sulleyyys-organization.gitbook.io/manuals-of-ccs/camera-components/miscellaneous/group-actor-component.md).

# Group Actor Component

This component is attached to an actor (called a group actor) enabling you to add multiple sub-actors which will together determine the group actor's location and rotation. You can add a group actor by selecting "Add"->"All Classes" and adding a `ECamera Group Actor` into the level.

<figure><img src="/files/8GAsV8JFTa1bvqivpOAk" alt=""><figcaption></figcaption></figure>

Select the `ECamera Group Actor Component`at the `Details` panel. You can add as many target actors as you want in it, and set up the method to interpret the group location and rotation based on the target actors you add.

<figure><img src="/files/NdtBQx5mUw35KF8RGqlZ" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="120.33333333333331">Parameter</th><th width="132"></th><th>Description</th></tr></thead><tbody><tr><td>Target Actors</td><td></td><td>An array of target actors determining the group actor's location and rotation.</td></tr><tr><td></td><td>Target</td><td>An actor in the level.</td></tr><tr><td></td><td>Weight</td><td>The influence this actor makes on determining the group actor's location and rotation.</td></tr><tr><td></td><td>Width</td><td>Half with of the bounding box of this actor on screen.</td></tr><tr><td></td><td>Height</td><td>Half height of the bounding box of this actor on screen.</td></tr><tr><td></td><td>Exclude Bounding Box</td><td>Whether to exclude this actor (i.e., ignoring this bounding box) when resolving the group actor.</td></tr><tr><td>Group Location Method</td><td></td><td>Method you use to interpret group location.<br><em>Arithmetic Average</em> uses the arithemetic average location of all target actors as the group actors' location.<br><em>Weighted Average</em> takes into account each target actor's weight.<br><em>Unweighted Distance Based</em> measures the distance between an <em>Anchor location Actor</em> (or <em>Anchor Location</em> if the achor location actor is null) and any of the target actors. The closest the distance is, the group actor location leans more towards that target actor.<br><em>Weighted Distance Based</em> is a weighted version of <em>Unweighted Distance Based</em>, taking into account the weight of each target actor.<br><em>Closest</em> uses the target actor's location closest to the <em>Anchor location Actor</em> (or <em>Anchor Location</em>).<br><em>Farest</em> uses the target actor's location farest from the <em>Anchor location Actor</em> (or <em>Anchor Location</em>).<br><em>Specified</em> uses the <em>Specified Location Actor</em>'s location (or the <em>Specified Location</em> if <em>Specified Location Actor</em> is null).</td></tr><tr><td>Anchor Location Actor</td><td></td><td>This actor's location will be used to determine the group actor's location. Only for <em>Unweighted Distance Based</em>, <em>Weighted Distance Based</em>, <em>Closest</em> and <em>Farest</em>.</td></tr><tr><td>Anchor Location</td><td></td><td>This location will be used to determine the group actor's location. Only for <em>Unweighted Distance Based</em>, <em>Weighted Distance Based</em>, <em>Closest</em> and <em>Farest</em>.</td></tr><tr><td>Specified Location Actor</td><td></td><td>This actor's location will be used as the group actor's location. Only for <em>Specified</em>.</td></tr><tr><td>Specified Location</td><td></td><td>This location will be used as the group actor's location. Only for <em>Specified</em>.</td></tr><tr><td>Group Rotation Method</td><td></td><td>Method you use to interpret group rotation.<br><em>Arithmetic Average</em> uses the arithemetic average rotation of all target actors as the group actors' rotation.<br><em>Weighted Average</em> takes into account each target actor's weight.<br><em>Specified</em> uses the <em>Specified Rotation Actor</em>'s rotation (or the <em>Specified Rotation</em> if <em>Specified Rotation Actor</em> is null).</td></tr><tr><td>Specified Rotation Actor</td><td></td><td>This actor's rotation will be used as the group actor's rotation. Only for <em>Specified</em>.</td></tr><tr><td>Specified Rotation</td><td></td><td>This rotation will be used as the group actor's rotation. Only for <em>Specified</em>.</td></tr></tbody></table>
