Improve SeparationRayShape docs

This commit is contained in:
MewPurPur 2023-09-29 22:01:45 +03:00
parent e3e2528ba7
commit c4db6e1a58
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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>