瀏覽代碼

doc improvement for get_colliding_bodies() methods

(cherry picked from commit 3cd5c86b1a01aeb1f6808175f1914cf39367defe)
Jerome67000 8 年之前
父節點
當前提交
a8bc2f64ad
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/base/classes.xml

+ 2 - 2
doc/base/classes.xml

@@ -32656,7 +32656,7 @@
 			<return type="Array">
 			</return>
 			<description>
-				Return a list of the bodies colliding with this one.
+				Return a list of the bodies colliding with this one. By default, number of max contacts reported is at 0 , see [method set_max_contacts_reported] to increase it.
 			</description>
 		</method>
 		<method name="get_friction" qualifiers="const">
@@ -33017,7 +33017,7 @@
 			<return type="Array">
 			</return>
 			<description>
-				Return a list of the bodies colliding with this one.
+				Return a list of the bodies colliding with this one. By default, number of max contacts reported is at 0 , see [method set_max_contacts_reported] to increase it. You must also enable contact monitor, see [method set_contact_monitor]
 			</description>
 		</method>
 		<method name="get_continuous_collision_detection_mode" qualifiers="const">