Lerp Recoil to Viewmodel - Help Appreciated

Hello, this is my first time really working on Viewmodels so the ideas of Lerp and tables is somewhat still new to me. I wanted to know how I could implement this kind of idea with the view models I have

What I’m talking about is the recoil part of this, I somewhat understand that weapon clipping can be fixed with raycasting. I think the recoil part of this is done by lerping from a set Z amount, which gives it its kick, and has a random X and Y value every shot, which gives it a horizontal and vertical recoil effect.

If someone who understands this stuff can explain this to me clearly so I can understand how it works, It would be much appreciated. I’m not asking for an exact replica of the script that did this, but more of how its done.

Thanks again.

I have made a somewhat perfect copy of how the videos gun works, I am now making it so that other guns work properly with the script besides the one I have premade.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.