So to just begin, I've been looking into the development of making guns. However whenever I see guns that are actually decently scripted, I always wonder how they added that little sway effect when you move the camera left to right. After doing something research of my own, I came across "lerp" and how you can use this get that sway effect. I was reading the Wiki, but it just hasn't seemed to click yet.

How would I go about adding the sway to my gun?

2 comments

0

im not here to answer, but i've been wondering how to make gun sway forever! thank you for mentioning lerp! if i come across anything, i'll try and answer it.

0

I used CFrame to sway the arms. Don't know how to use lerp, I attempted before but was too difficult. Come check my guns out > https://www.roblox.com/games/51410992/FE-Testing