# Framerate Independent Recoil

**URL:** <https://forums.unrealengine.com/t/framerate-independent-recoil/435866>\
**Category:** Blueprint\
**Tags:** framerate, unreal-engine, Blueprint, question\
**Created:** [October 17, 2018, 11:59pm UTC](https://forums.unrealengine.com/t/framerate-independent-recoil/435866 "2018-10-17T23:59:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cryonius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cryonius](https://forums.unrealengine.com/u/Cryonius)\
**Post date:** [October 17, 2018, 11:59pm UTC](https://forums.unrealengine.com/t/framerate-independent-recoil/435866/1 "2018-10-17T23:59:03Z")

</div>

Hey all,  
So i’m trying to create a smooth recoil system (one that moves the camera upwards) which I initially did by using a timeline and lerping a value that is plugged into an Add Controller Pitch Input node which I thought worked until I realised that the higher the framerate the more updates, meaning higher recoil.  
I tried adjusting the amount that would be added to the input based on Delta Seconds and this sort of made it better, but it’s still not perfect and there is a variation in the recoil amount. The final thing I tried was lerping the control rotation to a target point which, as you would expect, did work to a certain extent but you can’t pull the mouse down to counteract the recoil because it’s trying to get to a specific rotation, so no matter what it will always get there.

I did try variations on the above because I have been at this for a while, so I haven’t mentioned every detail of what I have tried. I was just wondering if anyone else has stumbled across this problem and has a solution to it.  
I’ll be implementing it in Blueprints but if any methods require C++ they would still be greatly appreciated.

Thanks in advance 😃

---

<div class="post-metadata">

**Author:** ![DHRUV\_BAJAJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DHRUV\_BAJAJ](https://forums.unrealengine.com/u/DHRUV_BAJAJ)\
**Post date:** [April 24, 2024, 7:56am UTC](https://forums.unrealengine.com/t/framerate-independent-recoil/435866/2 "2024-04-24T07:56:56Z")

</div>

Hello, I am stuck with the same issue 6 years after your post. Can you tell me how did you solve this issue? I tried subtracting the previous frame value with the new frame value but have not got a satisfactory result. Thank You!
