> For the complete documentation index, see [llms.txt](https://distubredone322.gitbook.io/custom-vehicle-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://distubredone322.gitbook.io/custom-vehicle-controller/guides/vehicle-damage-system/vehicle-attachments-aligner.md).

# Vehicle Attachments Aligner

Vehicle attachments aligner is used to modify the position of the parts other than the main body (front/rear lights, front grill, etc).

### 1. Add the component

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FdI9geR8spbwO0pTufe2F%2Fimage.png?alt=media&amp;token=e111fe03-64d1-41d1-acac-0bc8f18930e2" alt=""><figcaption></figcaption></figure></div>

### 2. Reference the component to the VehicleDamageController

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FKbQ5EN2HwjfVDZKFoOH3%2Fimage.png?alt=media&amp;token=a8b4bcf3-5fae-4277-9599-7db13165b2ac" alt="" width="431"><figcaption></figcaption></figure></div>

### 3. Add attachments

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FArGIkDMN1O8JdhEgTPNE%2Fimage.png?alt=media&amp;token=fec8f105-3a25-4010-a2b1-c731ed8c30dd" alt="" width="409"><figcaption></figcaption></figure></div>

Attachments will move in certain direction, up to a certain distance. Make sure the Transform that you assign have correct forward/up/right direction.&#x20;
