Closed Cryisaguy closed 2 years ago
Thank you for reporting! I'll work on it. I think the problem lies within how I am using deltaTime.
Thank you for the patience! This has been fixed in #38
Will release v0.7.1 tomorrow after completing the documentation and testing the new updates. If you want to try the fix early though, you can clone the pr-bug-fixes
branch from this repository. Thanks!
Edit: Released v0.7.1
As the title says, FPS unlocker seems to mess with certain physics features such as friction, gravity and possibly other physics-based things as well. At 60 fps, friction behaves expectedly but setting the fps cap to none causes issues in which friction seems to be instantaneous and also causes gravity to be stronger.
Reproduction Steps
The FPS Unlocker being used is created by axstin. Using :ApplyForce() with the fps cap set to none.
Code utilized below:
Expected Behavior
For friction and gravity to behave similar to how they behave at 60 fps.
Actual Behavior
Friction seemed to be instantaneous instead of being smooth, and gravity seems to be normal.
Media
Behavior with 60 fps cap:
Behavior with no fps cap:
Lastly
I'm not sure what else this may possibly affect, but I just wanted to notify incase it also shows other issues that fps unlocker may cause. Sorry if this isn't very informative, it's my first bug report.