From faee8ba436b16f8d2ab8fac080c0f1ddcdecaa27 Mon Sep 17 00:00:00 2001 From: Ian Vidal Date: Thu, 9 Oct 2025 07:39:14 -0400 Subject: [PATCH] Add note to reset physics interpolation on first frame (#11346) * Added note letting users know they should reset physics interpolation on first frame object is created * Removed (RID) from function name * Apply suggestions from code review --------- Co-authored-by: Hugo Locurcio --- 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 54d9f153f..cbd2373c1 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() `. + This ensures proper synchronization between the rendering and physics systems. + .. tabs:: .. code-tab:: gdscript GDScript