Merge pull request #54390 from Anutrix/collide-shape-doc
Added collide_shape return type info to PhysicsDirectSpaceState2D docs
This commit is contained in:
commit
d046817536
|
@ -26,6 +26,7 @@
|
|||
<argument index="1" name="max_results" type="int" default="32" />
|
||||
<description>
|
||||
Checks the intersections of a shape, given through a [PhysicsShapeQueryParameters2D] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time.
|
||||
Returned points are a list of pairs of contact points. For each pair the first one is in the shape passed in [PhysicsShapeQueryParameters2D] object, second one is in the collided shape from the physics space.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_rest_info">
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
<argument index="1" name="max_results" type="int" default="32" />
|
||||
<description>
|
||||
Checks the intersections of a shape, given through a [PhysicsShapeQueryParameters3D] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time.
|
||||
Returned points are a list of pairs of contact points. For each pair the first one is in the shape passed in [PhysicsShapeQueryParameters3D] object, second one is in the collided shape from the physics space.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_rest_info">
|
||||
|
|
Loading…
Reference in New Issue