summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-09 18:00:41 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-09 18:26:00 -0700
commit0eb51b31d42ac9816b2db8a7505266455eff3fe9 (patch)
treec809119a5a770ff2385cf2c5e1b9e50bf1f303d1 /doc
parent0818a466c0a81c7c9793fd8109d25a74f49c00ae (diff)
Expose collider RID in 2D/3D kinematic collision
Can be useful to access the colliding body information for bodies created with the physics server directly.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/KinematicCollision2D.xml3
-rw-r--r--doc/classes/KinematicCollision3D.xml3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/KinematicCollision2D.xml b/doc/classes/KinematicCollision2D.xml
index 8748f89618..5e34c3562c 100644
--- a/doc/classes/KinematicCollision2D.xml
+++ b/doc/classes/KinematicCollision2D.xml
@@ -21,6 +21,9 @@
<member name="collider_metadata" type="Variant" setter="" getter="get_collider_metadata">
The colliding body's metadata. See [Object].
</member>
+ <member name="collider_rid" type="RID" setter="" getter="get_collider_rid">
+ The colliding body's [RID] used by the [PhysicsServer2D].
+ </member>
<member name="collider_shape" type="Object" setter="" getter="get_collider_shape">
The colliding body's shape.
</member>
diff --git a/doc/classes/KinematicCollision3D.xml b/doc/classes/KinematicCollision3D.xml
index 8eac15ebf4..f117126e6b 100644
--- a/doc/classes/KinematicCollision3D.xml
+++ b/doc/classes/KinematicCollision3D.xml
@@ -21,6 +21,9 @@
<member name="collider_metadata" type="Variant" setter="" getter="get_collider_metadata">
The colliding body's metadata. See [Object].
</member>
+ <member name="collider_rid" type="RID" setter="" getter="get_collider_rid">
+ The colliding body's [RID] used by the [PhysicsServer3D].
+ </member>
<member name="collider_shape" type="Object" setter="" getter="get_collider_shape">
The colliding body's shape.
</member>