Browse Source

Merge pull request #7322 from Jerome67000/classref-edit

doc improvement for get_colliding_bodies() methods
Rémi Verschelde 8 năm trước cách đây
mục cha
commit
f8e6cdd89d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      doc/base/classes.xml

+ 2 - 2
doc/base/classes.xml

@@ -33532,7 +33532,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">
@@ -33893,7 +33893,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">