Parameters to be sent to a 2D shape physics query.
This class contains the shape and other parameters for 2D intersection/collision queries.
Sets the [Shape2D] that will be used for collision/intersection queries.
- If [code]true[/code], the query will take [Area2D]s into account.
- If [code]true[/code], the query will take [PhysicsBody2D]s into account.
- The physics layer(s) the query will take into account (as a bitmask). See [url=$DOCS_URL/tutorials/physics/physics_introduction.html#collision-layers-and-masks]Collision layers and masks[/url] in the documentation for more information.
- The list of objects or object [RID]s that will be excluded from collisions.
- The collision margin for the shape.
- The motion of the shape being queried for.
- The queried shape's [RID]. See also [method set_shape].
- The queried shape's transform matrix.