Hi all!
I’ve been trying to implement a FPS shooter but there is one animation problem that I cant seem to get my head around. From my understanding to animate a gun shot, we play a shoot anim montage and then add some recoil using bp/cpp. The gun kicks back and then resets back to the original position.
But in games like COD, I see that when you auto fire, the gun kind of stays back until you stop shooting. Triggering the single shot anim montage again and again for auto fire looks weird since the gun resets back to the original position for every shot, because the montage plays from the beginning for every shot.
Has anyone been able to implement animation in a way that the gun stays back during auto fire. I’ve attached a video for reference.
Also any tips on implementing a good recoil using cpp or bp would be greatly appreciated. How to implement a system with things like:
Idle sway
Viewkick
Gunkick
Center Speed
Thanks for any tips or solution.