So recently I’ve started making my own gun engine on roblox, and saw that the new built in fps unlocker is here. I tried it and I saw that my guns broke. I then remembered that I had to use DeltaTime, but i forgot how. I tried making the “bobbing” when walking with deltaTime and it worked, BUT for the recoil of the viewmodel and camera, its not working. When i have higher fps its slower, and when i have lower fps its faster. Here’s what i use to keep it all locked at 60 fps :
–Example
local recoilX = 30
RecoilVMSpring.Velocity += Vector3.new(recoilX * dtTime * 60, 0 ,0)
Please someone help me.