Explorar o código

doc improvement for get_colliding_bodies() methods

(cherry picked from commit 3cd5c86b1a01aeb1f6808175f1914cf39367defe)
Jerome67000 %!s(int64=8) %!d(string=hai) anos
pai
achega
a8bc2f64ad
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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">