Since I couldn’t find any decent tutorials or very little info about how to add sway to your FPS models (weapon, hands, …) I decided to figure it out myself and make a tutorial about it.
Hopefully this will be of use to people that want to add this to their game as it adds a great deal of realism and it’s a pretty fun effect.
*You don’t have to save the offset into a variable. I messed around when trying to get it to work and used the saved offset for debug reaons. But beside debugging it’s not required. So just plug the substraction result right into the z value of the “make rotator”.
Great tutorial, easy to follow and learn. However, I cant get the Y - Axis pitch to slow down as well, only the X - Axis Roll. Should this be happening?
Great tutorial! way better than any other non-animation driven solutions! i know this is kinda old, but it still works like a charm!
i’ve been working on improving the blueprint by a bit and in case anyone still comes by this, here ya go:
updates:
-a minor sway is applied when moving via WASD
-clamped values to prevent the rotations from going crazy if: the framerate is low OR the user is spamming their mouse
this still uses the objects as shown in the video! make sure to first watch the video and then apply the changes from my update if you want.