Răsfoiți Sursa

Mention that body_set_state is deferred

(cherry picked from commit 255129a5d9ca2a0e8faa4e06e659ef0b5819764e)
Tomasz Chabora 5 ani în urmă
părinte
comite
e880956943
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      doc/classes/Physics2DServer.xml

+ 1 - 0
doc/classes/Physics2DServer.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">