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
Physics 2D Interpolation does not work on Parallax2D. #91625
Comments
This is interesting! I've been playing with it a bit, and see that just like |
Here is the MRP ported to GDScript (i.e. more minimal): GodotParallax2DInterpolation.zip I haven't found the source of the bug yet. |
@rburing I took your project and stripped down some of the odd settings and things not necessary to reproduce. Should be easier to debug, and the update is happening in the |
The bug is in Lines 57 to 71 in 17a8126
Without interpolation, the value of With interpolation, the value of (The whole So minimally we need a way to re-calculate (the value of) |
Tested versions
Godot v4.3.dev6.mono - macOS 14.4.1 - GLES3 (Compatibility) - Apple M2 Max - Apple M2 Max (12 Threads)
System information
Godot v4.3.dev6.mono - macOS 14.4.1 - GLES3 (Compatibility) - Apple M2 Max - Apple M2 Max (12 Threads)
Issue description
Spawned from godotengine/godot-proposals#2753 (comment).
Parallax2D object does not seem to support physics interpolation. ParallaxBackground and ParallaxLayers do work. With a small physics rate (like 15hz), Parallax 2D is visibly choppy and is not interpolation.
Steps to reproduce
Minimal repro here: https://github.com/TrieBr/GodotParallax2DInterpolation
Observe the differences between Parallax2D and ParallaxBackground/ParallaxLayer by toggling visibility on both and testing.
Minimal reproduction project (MRP)
Minimal repro here: https://github.com/TrieBr/GodotParallax2DInterpolation
The text was updated successfully, but these errors were encountered: