Stores the nearest collision information of a shape query.
This class contains the collision data computed by [method PhysicsDirectSpaceState2D.get_rest_info_into].
If the shape collides with multiple objects, only the nearest collision is stored.
[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's ID.
The intersecting object's [RID].
The shape index of the colliding shape.
The colliding object's velocity [Vector2]. If the object is an [Area2D], the result is [code](0, 0)[/code].
The collision normal of the query shape at the intersection point, pointing away from the intersecting object.
The intersection point.