Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I go about making viewmodel swaying?

Asked by 5 years ago

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.

0
You could use a spring system or use lerp. I've seen springs work better. I believe phantom forces uses spings. I recommend EgoMoose's explanation on springs on his YT. xPolarium 1388 — 5y
0
Ashley what did you expect on script helpers? iuclds 720 — 4y

Answer this question