-
What do you want to achieve?
how can i make this style sway effect that has X,Y and Z :Gun sway - YouTube or something like phantom forces -
What is the issue?
i cant figure it out how can i do this
this is the current sway
local Rotation = CurrentCamera.CFrame:ToObjectSpace(LastCameraCFrame)
local X,Y,Z = Rotation:ToOrientation()
SwayCFrame = SwayCFrame:Lerp(CFrame.Angles(math.sin(X) * SwayEffect, math.sin(Y) * SwayEffect, 0), 0.1)
the module
SwayEffect = 1