From 9f37ad4cbcbd4efb0baab687a3e833a85ffe53d7 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 5 Oct 2025 18:02:32 -0400 Subject: [PATCH 1/3] Added note letting users know they should reset physics interpolation on first frame object is created --- tutorials/performance/using_servers.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tutorials/performance/using_servers.rst b/tutorials/performance/using_servers.rst index 54d9f153f18..a5f98c36627 100644 --- a/tutorials/performance/using_servers.rst +++ b/tutorials/performance/using_servers.rst @@ -95,6 +95,11 @@ Creating a sprite This is an example of how to create a sprite from code and move it using the low-level :ref:`CanvasItem ` API. +.. note:: When creating canvas items using the RenderingServer, you should reset physics + interpolation on the first frame using + :ref:`RenderingServer.canvas_item_reset_physics_interpolation(RID) `. + This ensures proper synchronization between the rendering and physics systems. + .. tabs:: .. code-tab:: gdscript GDScript From 151d3d39676d59c4bb6c9dd601a5482db884b064 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 6 Oct 2025 07:44:43 -0400 Subject: [PATCH 2/3] Removed (RID) from function name --- tutorials/performance/using_servers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/performance/using_servers.rst b/tutorials/performance/using_servers.rst index a5f98c36627..d4fae159a35 100644 --- a/tutorials/performance/using_servers.rst +++ b/tutorials/performance/using_servers.rst @@ -97,7 +97,7 @@ This is an example of how to create a sprite from code and move it using the low .. note:: When creating canvas items using the RenderingServer, you should reset physics interpolation on the first frame using - :ref:`RenderingServer.canvas_item_reset_physics_interpolation(RID) `. + :ref:`RenderingServer.canvas_item_reset_physics_interpolation `. This ensures proper synchronization between the rendering and physics systems. .. tabs:: From 703b806e35918a8cef5d466ab036ccdcbeb9e0f1 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 7 Oct 2025 00:02:05 +0200 Subject: [PATCH 3/3] Apply suggestions from code review --- tutorials/performance/using_servers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/performance/using_servers.rst b/tutorials/performance/using_servers.rst index d4fae159a35..cbd2373c16e 100644 --- a/tutorials/performance/using_servers.rst +++ b/tutorials/performance/using_servers.rst @@ -97,7 +97,7 @@ This is an example of how to create a sprite from code and move it using the low .. note:: When creating canvas items using the RenderingServer, you should reset physics interpolation on the first frame using - :ref:`RenderingServer.canvas_item_reset_physics_interpolation `. + :ref:`RenderingServer.canvas_item_reset_physics_interpolation() `. This ensures proper synchronization between the rendering and physics systems. .. tabs::