浏览代码

Mention that body_set_state is deferred

(cherry picked from commit 255129a5d9ca2a0e8faa4e06e659ef0b5819764e)
Tomasz Chabora 5 年之前
父节点
当前提交
e880956943
共有 1 个文件被更改,包括 1 次插入0 次删除
  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">