You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that enabling Physics Interpolation in the project settings and then disabling it per node in the editor doesn't do anything, probably because canvas_item_set_interpolated never gets called at startup. Here are some workarounds I found which fix the issue:
Setting PHYSICS_INTERPOLATION_MODE_OFF at runtime:
func_ready() ->void:
#PHYSICS_INTERPOLATION_MODE_OFF is NOT set in the editor, if it is this doesn't work,#probably because of early returnsphysics_interpolation_mode=PHYSICS_INTERPOLATION_MODE_OFF
Steps to reproduce
enable Physics Interpolation and set low ticks per seconds, for example 5
add Sprite2d with a script to update a position in _process (not _physics_process) to introduce visible jitter with interpolation and low ticks per seconds
in editor disable the interpolation for the sprite (options are swapped without fixing that line above)
First of all, thank you for taking the time to report an issue here.
In case you haven't already, be sure to attach an MRP (minimal reproduction project) if specific steps or assets are needed in order to reproduce the issue. Contributors will use the MRP to validate that the fix is working as intended.
The time it will take to assess and fix your issue may vary. Follow the blog about our new releases and pre-releases to track new fixes or go to our forum where users could help you in the meantime.
Tested versions
4.3.dev [29b3d9e] and [06abc86]
System information
Arch Linux - OpenGL API 4.6 (Core Profile) Mesa 24.0.4-arch1.2
Issue description
Not the main issue but On and Off in this line are swapped:
godot/scene/main/node.cpp
Line 3783 in 79de2ea
The issue is that enabling Physics Interpolation in the project settings and then disabling it per node in the editor doesn't do anything, probably because
canvas_item_set_interpolated
never gets called at startup. Here are some workarounds I found which fix the issue:godot/scene/main/node.cpp
Line 421 in 79de2ea
canvas_item_set_interpolated
manually:Steps to reproduce
Minimal reproduction project (MRP)
project.zip
The text was updated successfully, but these errors were encountered: