Module Attachments

Sometimes you have a single module with multiple parts, each of which must go to a specific location on the vehicle it's mounted on. An example of this is a twin gun weapon, where each of the weapon units must go to a different location on the vehicle, even though it is all part of a single module.

To achieve this, create gameobjects on your vehicle and position/rotate them where each of the module's parts needs to go. Then add them one-by-one to the module mount's 'Attachment Points' list.

Next, go to the module and drag each of its parts into the Module component's 'Attachment Items' list. The order in the list here will match the order of the 'Attachment Points' on the module mount.

Now, when the module is mounted at the module mount, each of the 'Attachment Items' on the module will be placed at the position/rotation of the corresponding 'Attachment Point' on the module mount.

Last updated