diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-08-19 11:02:40 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-08-24 17:34:55 -0700 |
commit | aa4791735d2fe92d747a39529aebb410f96cf38f (patch) | |
tree | 8052f9cb555e0ebd4bd1dde05c6130b58c58c768 /doc | |
parent | d9720d439545792bd742645f3c6e3f7c29327aa8 (diff) |
Rename slips_on_slope to slide_on_slope
Also added some precision to the documentation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/RayShape2D.xml | 5 | ||||
-rw-r--r-- | doc/classes/RayShape3D.xml | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/classes/RayShape2D.xml b/doc/classes/RayShape2D.xml index 432c650074..50b89a0922 100644 --- a/doc/classes/RayShape2D.xml +++ b/doc/classes/RayShape2D.xml @@ -14,8 +14,9 @@ <member name="length" type="float" setter="set_length" getter="get_length" default="20.0"> The ray's length. </member> - <member name="slips_on_slope" type="bool" setter="set_slips_on_slope" getter="get_slips_on_slope" default="false"> - If [code]true[/code], allow the shape to return the correct normal. + <member name="slide_on_slope" type="bool" setter="set_slide_on_slope" getter="get_slide_on_slope" default="false"> + If [code]false[/code] (default), the shape always separates and returns a normal along its own direction. + If [code]true[/code], the shape can return the correct normal and separate in any direction, allowing sliding motion on slopes. </member> </members> <constants> diff --git a/doc/classes/RayShape3D.xml b/doc/classes/RayShape3D.xml index 9839044c30..e0b19e1a44 100644 --- a/doc/classes/RayShape3D.xml +++ b/doc/classes/RayShape3D.xml @@ -14,8 +14,9 @@ <member name="length" type="float" setter="set_length" getter="get_length" default="1.0"> The ray's length. </member> - <member name="slips_on_slope" type="bool" setter="set_slips_on_slope" getter="get_slips_on_slope" default="false"> - If [code]true[/code], allow the shape to return the correct normal. + <member name="slide_on_slope" type="bool" setter="set_slide_on_slope" getter="get_slide_on_slope" default="false"> + If [code]false[/code] (default), the shape always separates and returns a normal along its own direction. + If [code]true[/code], the shape can return the correct normal and separate in any direction, allowing sliding motion on slopes. </member> </members> <constants> |