Explorar o código

Mention that body_set_state is deferred

(cherry picked from commit 255129a5d9ca2a0e8faa4e06e659ef0b5819764e)
Tomasz Chabora %!s(int64=5) %!d(string=hai) anos
pai
achega
e880956943
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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">