From 5f69a29143c9c1dc5f487bede1e74d8822f2a722 Mon Sep 17 00:00:00 2001 From: Anutrix Date: Fri, 29 Oct 2021 20:44:57 +0530 Subject: [PATCH] Added collide_shape return type info to PhysicsDirectSpaceState2D docs --- doc/classes/PhysicsDirectSpaceState2D.xml | 1 + doc/classes/PhysicsDirectSpaceState3D.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/classes/PhysicsDirectSpaceState2D.xml b/doc/classes/PhysicsDirectSpaceState2D.xml index 9aa00022cd9..887b3822675 100644 --- a/doc/classes/PhysicsDirectSpaceState2D.xml +++ b/doc/classes/PhysicsDirectSpaceState2D.xml @@ -26,6 +26,7 @@ Checks the intersections of a shape, given through a [PhysicsShapeQueryParameters2D] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time. + Returned points are a list of pairs of contact points. For each pair the first one is in the shape passed in [PhysicsShapeQueryParameters2D] object, second one is in the collided shape from the physics space. diff --git a/doc/classes/PhysicsDirectSpaceState3D.xml b/doc/classes/PhysicsDirectSpaceState3D.xml index 137e7bbf39f..8c37072f29c 100644 --- a/doc/classes/PhysicsDirectSpaceState3D.xml +++ b/doc/classes/PhysicsDirectSpaceState3D.xml @@ -27,6 +27,7 @@ Checks the intersections of a shape, given through a [PhysicsShapeQueryParameters3D] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time. + Returned points are a list of pairs of contact points. For each pair the first one is in the shape passed in [PhysicsShapeQueryParameters3D] object, second one is in the collided shape from the physics space.