summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-08-21 15:05:54 +0200
committerGitHub <noreply@github.com>2020-08-21 15:05:54 +0200
commitf1230fa67146d5356be691d99eb9266144603ddb (patch)
treeca3f99374480c127fddd54dd6eafa1eaea25b81d
parentbf48b0976e98ffc6f7d9157a2e24285764a8d934 (diff)
parent255129a5d9ca2a0e8faa4e06e659ef0b5819764e (diff)
Merge pull request #41423 from KoBeWi/NEXT.FRAME
Mention that body_set_state is deferred
-rw-r--r--doc/classes/PhysicsServer2D.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/PhysicsServer2D.xml b/doc/classes/PhysicsServer2D.xml
index b2904c6538..6a1508b0e3 100644
--- a/doc/classes/PhysicsServer2D.xml
+++ b/doc/classes/PhysicsServer2D.xml
@@ -804,6 +804,7 @@
</argument>
<description>
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.
</description>
</method>
<method name="body_test_motion">