recoil method
Kicks the weapon back. Called when a shot actually happened, not when the trigger was pulled — a dry click should not recoil.
Implementation
void recoil() => _recoil = 1.0;
Kicks the weapon back. Called when a shot actually happened, not when the trigger was pulled — a dry click should not recoil.
void recoil() => _recoil = 1.0;