|
@@ -100,8 +100,7 @@
|
|
|
<argument index="0" name="shape" type="Physics2DShapeQueryParameters" />
|
|
|
<argument index="1" name="max_results" type="int" default="32" />
|
|
|
<description>
|
|
|
- Checks the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space.
|
|
|
- [b]Note:[/b] This method does not take into account the [code]motion[/code] property of the object. The intersected shapes are returned in an array containing dictionaries with the following fields:
|
|
|
+ Checks the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The intersected shapes are returned in an array containing dictionaries with the following fields:
|
|
|
[code]collider[/code]: The colliding object.
|
|
|
[code]collider_id[/code]: The colliding object's ID.
|
|
|
[code]metadata[/code]: The intersecting shape's metadata. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data].
|