Unity developer Arda Kozan has released Flexible Recoil System, a free Unity plugin that enables editor-based creation of recoil presets and pattern paths for first and third person shooters. It was created to help users build, tune, and integrate weapon recoil quickly without locking projects to a specific player controller architecture. Instead, it integrates with a project's existing camera and input setup while requiring minimal coupling.
The plugin includes a pattern editor where recoil patterns can be manually drawn on a grid, allowing users to create and switch between patterns at runtime. The editor provides drawing and erasing tools, along with options such as snapping and eraser settings to streamline the creation of custom recoil patterns. Users can also configure RPM, recoil scale, random strength ranges, interpolation curves, and decay behavior, and can choose between patterned or random recoil.
Also included are a complete sample scene, modular sample gun controllers, and gameplay examples. The sample scene includes gameplay examples demonstrating preset switching and gun switching, as well as a training zone with target dummies.
Flexible Recoil System is compatible with all Unity render pipelines, including the Built-in Render Pipeline, URP, and HDRP. It also includes documentation and debug helpers for visualizing recoil distribution.
For more information, check out the asset page on the Unity Asset Store.