How to make a walking bob for Viewport FPS arms?

Hello! Im working on a FPS framework which uses Viewport arms, Nothing special there.

And recently i ran into a issue which i cant really figure out how to make work.

In most games, The viewport arms have a scripted wobble or bobbing effect when walking, I understand that’s done by i believe tweening CFrames? I’m not too sure, my knowledge in CFrame scripting is extremely basic, and i cant find anything online that shows what i could use to make the effect, If anyone could tell me what the the trick is to make this happen it would be extremely appreciated, Thanks in advance!

I think this video can help you.

Thank you for the reply and video!
I check the video out, sadly due to the arms being parented to the camera and following the cameras CFrame, the arms will move with the offset rather than staying in their original position.

Im thinking il have to script the arms to change or lerp to a predetermined CFrame but I’m not too sure how to do that properly.

Thanks anyway!

1 Like

Alright! Good luck on your journey! I’m not that experienced with camera scripting, so not much I can do, besides googling some tutorials :smiley:

1 Like