diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-10 11:47:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 11:47:23 +0200 |
commit | 0e60a4ab0211617dc43c7b5369be5604a409620e (patch) | |
tree | b5f0fad8998faf88d531b03da595a2a24d274778 /doc/classes | |
parent | 7a5c50540ea05ba40b96b9712b8e24a40d57764f (diff) | |
parent | 733129552384e3047e4e7703974ececa4cd57742 (diff) |
Merge pull request #64195 from TokageItLab/add-get-depth-3d
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/KinematicCollision2D.xml | 6 | ||||
-rw-r--r-- | doc/classes/KinematicCollision3D.xml | 6 |
2 files changed, 12 insertions, 0 deletions
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. </description> </method> + <method name="get_depth" qualifiers="const"> + <return type="float" /> + <description> + Returns the colliding body's length of overlap along the collision normal. + </description> + </method> <method name="get_local_shape" qualifiers="const"> <return type="Object" /> <description> 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. </description> </method> + <method name="get_depth" qualifiers="const"> + <return type="float" /> + <description> + Returns the colliding body's length of overlap along the collision normal. + </description> + </method> <method name="get_local_shape" qualifiers="const"> <return type="Object" /> <param index="0" name="collision_index" type="int" default="0" /> |