I am having an issue where if the game is running at a framerate higher than 60FPS the ViewModel sway becomes super low and almost unnoticeable.
I have tried many solutions but all of those solutions broke the sway completely. I know that the issue relates to delta time in some sort of way.
Notes:
- I am using the FE gun kit spring
- I am using Mouse Delta to set spring’s target
local SwingSpring = Spring.spring.new(Vector2.new())
SwingSpring.s = Settings.SwingSpeed
SwingSpring.d = Settings.SwingDamper
--RenderStepped--
SwingSpring.t = Vector2.new(math.clamp(MouseDelta.x/Settings.SwingDeltaDamper.X, -Settings.SwingLimit.X, Settings.SwingLimit.X), math.clamp(MouseDelta.Y/Settings.SwingDeltaDamper.Y, -Settings.SwingLimit.Y, Settings.SwingLimit.Y))
SwingCF = CFrame.Angles(SwingSpring.p.Y,SwingSpring.p.X,SwingSpring.p.X / 3.25)