Parameters to be sent to a 2D shape physics query.
This class contains the shape and other parameters for intersection/collision queries.
Set the [Shape2D] that will be used for collision/intersection queries.
- The physics layer the query should be made on.
- 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 [RID] of the queried shape. See [method set_shape] also.
- the transform matrix of the queried shape.