Overview
Flexible Recoil System helps you build, tune, and integrate weapon recoil quickly without locking your project to a specific player controller architecture.
Use the built-in editor window to:
- Create and manage recoil presets
- Draw recoil patterns on a grid
- Configure RPM, recoil scale, random strength ranges, interpolation curves, and decay behavior
At runtime, the system is integration-friendly through two contracts:
- IRecoilInputSource for fire/reset/preset events
- IRecoilViewDriver for applying recoil to your camera/look system
This lets you keep your existing movement/camera code and connect recoil through a clean abstraction layer.
The package includes:
- A complete sample scene (FRS_SampleScene)
- Modular sample gun controllers and gameplay examples (preset switch, gun switch, training zone, target dummies)
- Debug helpers to visualize recoil distribution
- Documentation for both users and developers
Supported render pipelines:
Tested on:
- Unity 6000.3.11f1 (Unity 6 LTS)
- Unity 2022.3.62f3 LTS