add get_depth() to KinematicCollision3D as same of 2D
This commit is contained in:
parent
317ced8204
commit
7331295523
8 changed files with 27 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue