summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-10-03 17:24:58 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-10-03 17:24:58 +0200
commit19c72e847df823a7a22cae8194080269bfbff980 (patch)
tree1124d220e36a1db62cf91202553397062fc477b9
parent2af3229ce7cd0982cd45c173f0ad0c9fad53a887 (diff)
parentc4db6e1a588a78226c314f11b75f5e30f874f9c4 (diff)
downloadredot-engine-19c72e847df823a7a22cae8194080269bfbff980.tar.gz
Merge pull request #82544 from MewPurPur/improve-ray-docs
Improve SeparationRayShape docs
-rw-r--r--doc/classes/SeparationRayShape2D.xml2
-rw-r--r--doc/classes/SeparationRayShape3D.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/SeparationRayShape2D.xml b/doc/classes/SeparationRayShape2D.xml
index 6237584056..9c805d4ede 100644
--- a/doc/classes/SeparationRayShape2D.xml
+++ b/doc/classes/SeparationRayShape2D.xml
@@ -4,7 +4,7 @@
A 2D ray shape used for physics collision that tries to separate itself from any collider.
</brief_description>
<description>
- A 2D ray shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape2D]. When a [SeparationRayShape2D] collides with an object, it tries to separate itself from it by moving its endpoint to the collision point. It can for example be used for spears falling from the sky.
+ A 2D ray shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape2D]. When a [SeparationRayShape2D] collides with an object, it tries to separate itself from it by moving its endpoint to the collision point. For example, a [SeparationRayShape2D] next to a character can allow it to instantly move up when touching stairs.
</description>
<tutorials>
</tutorials>
diff --git a/doc/classes/SeparationRayShape3D.xml b/doc/classes/SeparationRayShape3D.xml
index aaf8791224..afb030ad0e 100644
--- a/doc/classes/SeparationRayShape3D.xml
+++ b/doc/classes/SeparationRayShape3D.xml
@@ -4,7 +4,7 @@
A 3D ray shape used for physics collision that tries to separate itself from any collider.
</brief_description>
<description>
- A 3D ray shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape3D]. When a [SeparationRayShape3D] collides with an object, it tries to separate itself from it by moving its endpoint to the collision point. It can for example be used for spears falling from the sky.
+ A 3D ray shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape3D]. When a [SeparationRayShape3D] collides with an object, it tries to separate itself from it by moving its endpoint to the collision point. For example, a [SeparationRayShape3D] next to a character can allow it to instantly move up when touching stairs.
</description>
<tutorials>
</tutorials>