From 733129552384e3047e4e7703974ececa4cd57742 Mon Sep 17 00:00:00 2001 From: Silc Renew Date: Wed, 10 Aug 2022 10:14:36 +0900 Subject: add get_depth() to KinematicCollision3D as same of 2D --- doc/classes/KinematicCollision2D.xml | 6 ++++++ doc/classes/KinematicCollision3D.xml | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/classes/KinematicCollision2D.xml b/doc/classes/KinematicCollision2D.xml index ca6aa05316..045480f17c 100644 --- a/doc/classes/KinematicCollision2D.xml +++ b/doc/classes/KinematicCollision2D.xml @@ -53,6 +53,12 @@ Returns the colliding body's velocity. + + + + Returns the colliding body's length of overlap along the collision normal. + + diff --git a/doc/classes/KinematicCollision3D.xml b/doc/classes/KinematicCollision3D.xml index 08ceebdf91..31fbbc8d0a 100644 --- a/doc/classes/KinematicCollision3D.xml +++ b/doc/classes/KinematicCollision3D.xml @@ -66,6 +66,12 @@ Returns the number of detected collisions. + + + + Returns the colliding body's length of overlap along the collision normal. + + -- cgit v1.2.3