#Is there a better way to do recoil?
1 messages · Page 1 of 1 (latest)
use tween service
or idk
i only know tweenservice
How does this one look in game?
great
kinda glitchy
when im trying to resist it
just wonder
if there a better solution
I've never made recoil so I can only really imagine things but why not simplify some of the code
tell me your idea
So rn ur storing a new cframe but you could just do it all in one statement. Something like
camera.CFrame *= CFrame.Angles(math.rad(1),0,0)
Not sure if that will work 100% but you get what I mean
task.wait(0.000001) is basically the same as waiting task.wait()
the minimum task.wait can wait is a frame
lerp is good
don't you mean 57.2958 degrees? (the equivalent of 1 radian?)
Formula
1Rad × 180/π = 57.296Deg
maybe try CFrame.Angles(math.deg(1),0,0) instead?