From 255129a5d9ca2a0e8faa4e06e659ef0b5819764e 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 --- doc/classes/PhysicsServer2D.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/PhysicsServer2D.xml b/doc/classes/PhysicsServer2D.xml index b2904c65388..6a1508b0e37 100644 --- a/doc/classes/PhysicsServer2D.xml +++ b/doc/classes/PhysicsServer2D.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.