CyclingFirearmAction
Last updated
Last updated
CyclingFirearmAction represents the action of a weapon that cycles in order to load the next round. This is applicable to most modern day firearms, however if you would like to create say a Break-Action shotgun you'd have to write your own FirearmAction component.
FirearmCyclingAction can be manipulated and made Interactable with the FirearmCyclingActionInteractable Component
The CyclingFirearmAction exposes a few variables that you can customize to your own needs:
automaticCycling - Lets you determine if the firearm should cycle after being fired. Turning this off would create a Bolt-Action firearm, where you manually have to cycle every cartridge in to the chamber.
roundsPerMinute - Determines the spring strength of your Firearm, which in turn determines how quickly the next round is loaded and how soon your Firearm can be fired again. Becomes especially noticeable in Full-Automatic firing.
lockOnEmptyMag - Decides whether an empty Magazine should lock the action back in the open position to emulate the real Firearm counterpart. The real AK47 does not feature bolt lockback, and will therefore have to be manually cycled after every reload (with an empty chamber).