-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Godot 3.2.3 move_and_slide_with_snap() doesn't function correctly at 144fps. #43368
Comments
You should run physics functions in To avoid stuttering at higher refresh rates when using a fixed timestep (which is what |
The current code within The physics functions are in I will implement the smoothing-addon. However. The unintended behaviour is more than frame stuttering. The player will fall off the platform. |
I implemented the smoothing addon as suggested to both the MovingPlatform and Player objects. I locked the project FPS to 60, and the project does function as intended at this FPS. |
The moving platform is using an AnimationPlayer to control its movement. Since it's a physics object, you need to set the |
@rainystudio Does setting the |
Godot version:
v3.2.3
OS/device including version:
GTX 980ti, Windows 10 64 bit
Issue description:
Godot 3.2.3
move_and_slide_with_snap()
doesn't function as intended with moving platforms at 144hz/fps. The player will slowly slide off moving platforms when at 144fps. The function works as intended at 60fps.Steps to reproduce:
Stand on the blue moving platform in the included project with a 144fps hz display.
Minimal reproduction project:
Stand on the platform in this project with a 144fps display.
First Person Starter.zip
The text was updated successfully, but these errors were encountered: