In this section we will cover the recoil animation details.
How Does It Work?
The PRAS (Procedural Recoil Animation System) uses an advanced, yet simple way to generate realistic recoil. The system takes Vector Curves for translation and rotation, plays them in runtime, and uses curve values as interpolation alphas to reach the randomly generated targets.
where Target Value is randomly generated when a shot is fired.
Example recoil curve.
Recoil curves should be in the range [-1;1], so a curve value can be used as an interpolation alpha. The curve peaks at 1 and then goes down to 0 with some oscillation.
Tip: because curves are much simpler in comparison to other methods (e.g. spring interpolation), the recoil animation is frame-rate independent.
Single and Auto Fire
Recoil Data is an asset, which contains all information about the recoil animation. This includes curves and other settings:
Curve section in the Recoil Data.
To create a new Recoil Data, right-click and go to Miscellaneous -> Data Asset -> Recoil Data. This asset includes 4 Vector Curves in total: 2 for translation and 2 for rotation. The PRAS has 2 main fire modes:
Single
Auto/Burst (there’s no technical difference animation-wise)
Tip: we use different curves for single and auto fire because of animation quality. If we use single-fire curves when auto-firing, the animation will look choppy. To make it look smoother and more fluid we use a different set of curves.
Let’s compare an example single and auto fire curve:
Option
Option
The curves are almost identical! The only difference is that auto curve values are very close to 0 at some time - this time equals the fire rate of a weapon (in this case 600RPM = 0.1s). This will ensure that the weapon’s main muzzle climbing will be fully preserved when auto-firing.
Tip: regardless of a fire mode, the first shot is always a single fire shot.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Kinemation","colors":{"primary":"#6B4FE8","light":"#EDE9FB","dark":"#2D1F7A"},"logo":{"light":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37","dark":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37"},"favicon":{"light":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37","dark":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37"},"navbar":{"links":[],"primary":{"type":"github","href":"https://github.com/kinemation"}},"footer":{"socials":{"youtube":"https://www.youtube.com/@kinemationstudio","discord":"https://discord.gg/kinemation-1027338787958816860"}},"integrations":{"ga4":{"measurementId":"G-QPSE9FYEMW"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kinemation","hasAudioNarration":false,"actualSubdomain":"kinemation","customDomains":["docs.kinemation.xyz"],"gitSource":{"type":"github","owner":"kinemation","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10fa759ffae5051c41b38c"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0efa88f4b490f2ad805b02","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Unreal Engine","count":83},{"language":"default","tag":"Unity","count":75},{"language":"default","tag":"Character Animation System","count":67},{"language":"default","tag":"General","count":58},{"language":"default","tag":"Survival Pack","count":50},{"language":"default","tag":"Scriptable Animation System","count":45},{"language":"default","tag":"Sci-Fi FPS Pack","count":42},{"language":"default","tag":"Tactical Shooter Pack","count":38},{"language":"default","tag":"Tutorials","count":32},{"language":"default","tag":"FPS Animation Pack","count":30}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@kinemation.xyz"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"main :is(img,video){display:block;max-width:min(var(--kinemation-image-max-width), 100%);height:auto;margin-inline:auto}main .frame{max-width:min(var(--kinemation-image-max-width), 100%);margin-inline:auto}main .frame :is(img,video){max-width:100%}:root{--kinemation-image-max-width: 75%;--kinemation-callout-text-light: #4b5563;--kinemation-callout-text-dark: #f3f4f6}[data-component-part=\"callout-content\"]{color:var(--kinemation-callout-text-light)!important}html.dark [data-component-part=\"callout-content\"]{color:var(--kinemation-callout-text-dark)!important}"}]}
{"page":{"pagePath":"pras/basics/recoil-animation","slug":"/pras/basics/recoil-animation","pageMetadata":{"title":"🔫Recoil Animation","sidebarTitle":"🔫Recoil Animation","description":"In this section we will cover the recoil animation details.","href":"/pras/basics/recoil-animation"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"In this section we will cover the recoil animation details.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={blockquote:`blockquote`,em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedImage,Tab,Tabs,Tip,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`how-does-it-work`,children:`How Does It Work?`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`PRAS (Procedural Recoil Animation System)`}),` uses an advanced, yet simple way to generate realistic recoil. The system takes Vector Curves for translation and rotation, plays them in runtime, and uses curve values as interpolation alphas to reach the randomly generated targets.`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`RecoilAnimation = Lerp(0f, TargetValue, CurveValue)`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`where `,_jsx(_components.strong,{children:`Target Value`}),` is randomly generated when a shot is fired.`]}),`\n`,_jsx(Frame,{caption:`Example recoil curve.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/5705871ec49b536bd430.png?fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=30b51711eb8c8d1482ae923272297230`,alt:``,width:563,\"data-og-width\":`1270`,\"data-og-height\":`853`,\"data-path\":`images/pras/5705871ec49b536bd430.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/5705871ec49b536bd430.png?w=280\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=9bdfe69696abfbc185bbd1c3471b9076 280w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/5705871ec49b536bd430.png?w=560\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=9d4eeeb77004ac8a34435613f2fd9250 560w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/5705871ec49b536bd430.png?w=840\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=7fccfaf2b9c679469af4910325813c8f 840w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/5705871ec49b536bd430.png?w=1100\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=ee0e3f7ffbdad2fc6981477fc8841510 1100w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/5705871ec49b536bd430.png?w=1650\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=172eeaba81a21d13d8428a93918835ed 1650w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/5705871ec49b536bd430.png?w=2500\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=c31392129215155c5ae8714335b2c5d4 2500w`})}),`\n`,_jsx(_components.p,{children:`Recoil curves should be in the range [-1;1], so a curve value can be used as an interpolation alpha. The curve peaks at 1 and then goes down to 0 with some oscillation.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tip`}),`: because curves are much simpler in comparison to other methods (e.g. spring interpolation), the recoil animation is frame-rate independent.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`single-and-auto-fire`,children:`Single and Auto Fire`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recoil Data`}),` is an asset, which contains all information about the recoil animation. This includes curves and other settings:`]}),`\n`,_jsx(Frame,{caption:`Curve section in the Recoil Data.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/74b26208a52d1ff8d5c7.png?fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=3e1e0f90b8e55047c96238dec709ef32`,alt:``,width:383,\"data-og-width\":`510`,\"data-og-height\":`363`,\"data-path\":`images/pras/74b26208a52d1ff8d5c7.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/74b26208a52d1ff8d5c7.png?w=280\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=0b92cd6c9b63c1d65400ebd743eb4729 280w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/74b26208a52d1ff8d5c7.png?w=560\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=c8edac67a63451a8767e838a34c0ea6e 560w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/74b26208a52d1ff8d5c7.png?w=840\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=678d7319f9fdf297b242ad645bc4c3e7 840w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/74b26208a52d1ff8d5c7.png?w=1100\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=45d9645c30461b2cc6c2244eadc4ce56 1100w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/74b26208a52d1ff8d5c7.png?w=1650\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=115a5a1c1dcdd82761e5dea81bde482e 1650w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/74b26208a52d1ff8d5c7.png?w=2500\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=075aded932b55bddd96e1ae755b9ca15 2500w`})}),`\n`,_jsxs(_components.p,{children:[`To create a new `,_jsx(_components.strong,{children:`Recoil Data`}),`, right-click and go to `,_jsx(_components.strong,{children:`Miscellaneous -> Data Asset -> Recoil Data`}),`. This asset includes 4 `,_jsx(_components.em,{children:`Vector Curves`}),` in total: 2 for translation and 2 for rotation. The PRAS has 2 main fire modes:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Single`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Auto/Burst (there’s no technical difference animation-wise)`}),`\n`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tip`}),`: we use different curves for single and auto fire because of animation quality. If we use single-fire curves when auto-firing, the animation will look choppy. To make it look smoother and more fluid we use a different set of curves.`]})}),`\n`,_jsx(_components.p,{children:`Let’s compare an example single and auto fire curve:`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Option`,id:`option`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/6bd038813b040d9f550d.png?fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=ea922375609a514e10dfdfbbfc527731`,alt:``,width:1261,\"data-og-width\":`1261`,\"data-og-height\":`787`,\"data-path\":`images/pras/6bd038813b040d9f550d.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/6bd038813b040d9f550d.png?w=280\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=ce0b454ca922d68b71e87e35e542f25d 280w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/6bd038813b040d9f550d.png?w=560\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=f5695a14539dc6d2d2faed578789ef1f 560w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/6bd038813b040d9f550d.png?w=840\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=982be28c94383c9b45b933c9e7fedc42 840w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/6bd038813b040d9f550d.png?w=1100\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=66535e60da44946b7307c0b0143fe1a3 1100w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/6bd038813b040d9f550d.png?w=1650\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=cf725b1e230047db0d52f1e33262cdf6 1650w, https://mintcdn.com/kinemation/iFeSeTR8-9oVWKko/images/pras/6bd038813b040d9f550d.png?w=2500\u0026fit=max\u0026auto=format\u0026n=iFeSeTR8-9oVWKko\u0026q=85\u0026s=10d80580d1aa410ba165bd382d36efdb 2500w`})}),_jsx(Tab,{title:`Option`,id:`option-2`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/kinemation/MwuYlII5X7NMKvR6/images/pras/44e32cd09842e58c2ebe.png?fit=max\u0026auto=format\u0026n=MwuYlII5X7NMKvR6\u0026q=85\u0026s=990114b42857cf4f48f854cf28d45099`,alt:``,width:1265,\"data-og-width\":`1265`,\"data-og-height\":`761`,\"data-path\":`images/pras/44e32cd09842e58c2ebe.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/kinemation/MwuYlII5X7NMKvR6/images/pras/44e32cd09842e58c2ebe.png?w=280\u0026fit=max\u0026auto=format\u0026n=MwuYlII5X7NMKvR6\u0026q=85\u0026s=1c8d72e2503e086bf93a714ce00bbe2c 280w, https://mintcdn.com/kinemation/MwuYlII5X7NMKvR6/images/pras/44e32cd09842e58c2ebe.png?w=560\u0026fit=max\u0026auto=format\u0026n=MwuYlII5X7NMKvR6\u0026q=85\u0026s=99f14a7e12a4a46e2dd8bf2be8f773ff 560w, https://mintcdn.com/kinemation/MwuYlII5X7NMKvR6/images/pras/44e32cd09842e58c2ebe.png?w=840\u0026fit=max\u0026auto=format\u0026n=MwuYlII5X7NMKvR6\u0026q=85\u0026s=eab5d86b2938d7d9bd820bb8856de1fa 840w, https://mintcdn.com/kinemation/MwuYlII5X7NMKvR6/images/pras/44e32cd09842e58c2ebe.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MwuYlII5X7NMKvR6\u0026q=85\u0026s=accf397ce19377c923a6fedc4fc142e1 1100w, https://mintcdn.com/kinemation/MwuYlII5X7NMKvR6/images/pras/44e32cd09842e58c2ebe.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MwuYlII5X7NMKvR6\u0026q=85\u0026s=fe81a31ec155a56bba080e2c102d5fc3 1650w, https://mintcdn.com/kinemation/MwuYlII5X7NMKvR6/images/pras/44e32cd09842e58c2ebe.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MwuYlII5X7NMKvR6\u0026q=85\u0026s=5c1541f9b755893c985f71642b3fc63f 2500w`})})]}),`\n`,_jsx(_components.p,{children:`The curves are almost identical! The only difference is that auto curve values are very close to 0 at some time - this time equals the fire rate of a weapon (in this case 600RPM = 0.1s). This will ensure that the weapon’s main muzzle climbing will be fully preserved when auto-firing.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tip`}),`: regardless of a fire mode, the first shot is `,_jsx(_components.strong,{children:`always`}),` a single fire shot.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"🔫Recoil Animation","sidebarTitle":"🔫Recoil Animation","description":"In this section we will cover the recoil animation details.","href":"/pras/basics/recoil-animation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How Does It Work?","slug":"how-does-it-work","depth":2,"children":[]},{"title":"Single and Auto Fire","slug":"single-and-auto-fire","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"kinemation","siteName":"Kinemation","title":"🔫Recoil Animation - Kinemation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-13T14:48:34.544Z","originalFileLocation":"pras/basics/recoil-animation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"In this section we will cover the recoil animation details.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kinemation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"🔫Recoil Animation - Kinemation\">\u003cmeta data-mint-head property=\"og:description\" content=\"In this section we will cover the recoil animation details.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kinemation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kinemation.xyz/pras/basics/recoil-animation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kinemation.mintlify.site/_mintlify/api/og/v2?division=Basics\u0026amp;title=%F0%9F%94%ABRecoil+Animation\u0026amp;description=In+this+section+we+will+cover+the+recoil+animation+details.\u0026amp;theme=afc07206c47a13b4e7b57251\u0026amp;signature=995177ab79585e550da43ad51ca945b2392843689e06f244516a3529f616ddfa\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"🔫Recoil Animation - Kinemation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"In this section we will cover the recoil animation details.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kinemation.mintlify.site/_mintlify/api/og/v2?division=Basics\u0026amp;title=%F0%9F%94%ABRecoil+Animation\u0026amp;description=In+this+section+we+will+cover+the+recoil+animation+details.\u0026amp;theme=afc07206c47a13b4e7b57251\u0026amp;signature=995177ab79585e550da43ad51ca945b2392843689e06f244516a3529f616ddfa\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kinemation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6B4FE8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kinemation.xyz/pras/basics/recoil-animation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pras/basics/recoil-animation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kinemation.xyz/#organization\",\"name\":\"Kinemation\",\"url\":\"https://docs.kinemation.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kinemation.xyz#website\",\"name\":\"Kinemation\",\"url\":\"https://docs.kinemation.xyz\",\"publisher\":{\"@id\":\"https://docs.kinemation.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation#webpage\",\"url\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation\",\"name\":\"🔫Recoil Animation\",\"description\":\"In this section we will cover the recoil animation details.\",\"dateModified\":\"2026-08-13T14:48:34.544Z\",\"isPartOf\":{\"@id\":\"https://docs.kinemation.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Kinemation\",\"item\":\"https://docs.kinemation.xyz\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"🔫Recoil Animation\",\"item\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation#article\",\"headline\":\"🔫Recoil Animation\",\"name\":\"🔫Recoil Animation\",\"description\":\"In this section we will cover the recoil animation details.\",\"url\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kinemation.xyz/pras/basics/recoil-animation#webpage\"},\"dateModified\":\"2026-08-13T14:48:34.544Z\",\"publisher\":{\"@id\":\"https://docs.kinemation.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kinemation.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kinemation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Kinemation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pras/basics/recoil-animation.md","siteName":"Kinemation","nav":{"global":null,"products":[{"product":"Character Animation System","pages":[{"title":"Character Animation System","href":"/cas/welcome"}]},{"product":"Motion Warping","pages":[{"title":"Motion Warping","href":"/mw/welcome"}]},{"product":"Retarget Pro","pages":[{"title":"Retarget Pro","href":"/retarget-pro/welcome"}]},{"product":"Tactical Shooter Pack","pages":[{"title":"Tactical Shooter Pack","href":"/tactical-shooter-pack/unreal/welcome"}]},{"product":"FPS Animation Pack","pages":[{"title":"FPS Animation Pack","href":"/fps-animation-pack/unreal/welcome"}]},{"product":"PRAS","pages":[{"title":"👋Welcome!","sidebarTitle":"👋Welcome!","description":"This is Procedural Recoil Animation System documentation.","href":"/pras/welcome"},{"group":"Basics","pages":[{"title":"🔫Recoil Animation","sidebarTitle":"🔫Recoil Animation","href":"/pras/basics/recoil-animation"},{"title":"⚙️Recoil Settings","sidebarTitle":"⚙️Recoil Settings","description":"In this section we will cover all recoil-related properties.","href":"/pras/basics/recoil-settings"}]},{"group":"Tutorials","pages":[{"title":"🌟Getting Set Up","sidebarTitle":"🌟Getting Set Up","href":"/pras/tutorials/getting-set-up"},{"title":"➕How to implement attachments","sidebarTitle":"➕How to implement attachments","href":"/pras/tutorials/how-to-implement-attachments"}]}]},{"product":"Magic Blend","pages":[{"title":"Magic Blend","href":"/magic-blend/readme"}]},{"product":"Scriptable Animation System","pages":[{"title":"Scriptable Animation System","href":"/scriptable-animation-system/welcome"}]},{"product":"Sci-Fi FPS Pack","pages":[{"title":"Sci-Fi FPS Pack","href":"/sci-fi-fps-pack/welcome"}]},{"product":"Survival Pack","pages":[{"title":"Survival Pack","href":"/survival-pack/welcome"}]}]},"basePath":"","title":"🔫Recoil Animation - Kinemation","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-B-OFTXBF.js","DynamicMarkdown-CvOkzads.js","zoom-image-lightbox-B9SB_e-W.js","lightbox-handle-r17bVUz3.js"]}