Stores the results of a shape intersection query. This class contains the intersection information produced by [method PhysicsDirectSpaceState2D.intersect_shape_into]. It can store multiple intersections, up to a user-defined maximum. [b]Note:[/b] For optimal performance results, it is recommended to create this object in advance, store it, and reuse it for every subsequent query. The colliding object. The colliding object's ID. The intersecting object's [RID]. The shape index of the colliding shape. Returns the number of shapes that intersect with the query shape. The maximum number of intersections this result object can store.