I'm currently working on a viewmodel system for my weapons and can't seem to get some things right, while in concept using SetPrimaryPartCFrame() called every 1/60th of a second works fine and is smooth, I need to implement swaying and that's one thing I can't seem to get the hang of.
I'm kind of a beginner in this field, I saw an older thread where OP was recommended to use lerp, the problem is I have no idea how to, if someone could give me some code reference + explain it, it would be nice.