From e8809569438d92998d6074c0d0ef8e11ab53e3aa Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Fri, 21 Aug 2020 13:29:58 +0200 Subject: [PATCH] Mention that body_set_state is deferred (cherry picked from commit 255129a5d9ca2a0e8faa4e06e659ef0b5819764e) --- doc/classes/Physics2DServer.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Physics2DServer.xml b/doc/classes/Physics2DServer.xml index e72895c8384..ed9729105f3 100644 --- a/doc/classes/Physics2DServer.xml +++ b/doc/classes/Physics2DServer.xml @@ -804,6 +804,7 @@ Sets a body state using one of the [enum BodyState] constants. + Note that the method doesn't take effect immediately. The state will change on the next physics frame.