In my game players with FPS Unlocker have different recoil on ranged weapons and I want the recoil to be the same no matter the fps.
I have seen topics related to my problem, but all of them doesn’t have solution.
The module i use: Spring.lua (1.3 KB)
Video:
2 Likes
You’re gonna have to link it to the DeltaTime for it to stay consistent
I haven’t seen anything about this, so I will make this my first tutorial.
What is DeltaTime?
DeltaTime is the time between events. This is extremely useful, often used to make sure frame rate makes no difference on what happens. The focus of this thread will be on DeltaTime with RunService events, wait, spawn, and delay.
Why use DeltaTime?
Since DeltaTime is the time in between events, this can be used with RunService events/wait when timing is important.
RunService events are tied directly …
it is already linked to the deltatime
you are going to want to do something like shove(recoilvector * dt)
or use a better spring module like quenty’s spring