FirearmTransformMatchSetter MonoBehaviour
Overview
The FirearmTransformMatchSetter behaviour is attached to a firearm object. When that firearm is added to a character and equipped it will set the transforms of the TransformMatcher additive effect attached to the character head. This can be used to sync the character head movement to animations attached to the head, while still allowing additive effects such as recoil and shake.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Target | Transform | The target transform to match. |
| Relative To | Transform | The transform to use when calculating the offset of the target transform. |
| Weight | Float | The strength of the effect. 1 matches the movement absolutely, while 0 is no movement. |