From 7af622a8a3d96a04de592c0afbfaf68e7380c140 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 19 Jan 2025 08:33:40 +1100 Subject: [PATCH 1/2] Specified max_slides must be greater than 0 --- doc/classes/CharacterBody2D.xml | 2 +- doc/classes/CharacterBody3D.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/CharacterBody2D.xml b/doc/classes/CharacterBody2D.xml index 30438be18b79..9c5f4bb6bf9e 100644 --- a/doc/classes/CharacterBody2D.xml +++ b/doc/classes/CharacterBody2D.xml @@ -166,7 +166,7 @@ If [code]false[/code], the body will slide on floor's slopes when [member velocity] applies a downward force. - Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. + Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be > 0. Sets the motion mode which defines the behavior of [method move_and_slide]. See [enum MotionMode] constants for available modes. diff --git a/doc/classes/CharacterBody3D.xml b/doc/classes/CharacterBody3D.xml index 474adfc6ffe5..3c7882141c0c 100644 --- a/doc/classes/CharacterBody3D.xml +++ b/doc/classes/CharacterBody3D.xml @@ -157,7 +157,7 @@ If [code]false[/code], the body will slide on floor's slopes when [member velocity] applies a downward force. - Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. + Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be > 0. Sets the motion mode which defines the behavior of [method move_and_slide]. See [enum MotionMode] constants for available modes. From 06e78c952a5465f5e568edd25b507e9acc6d0632 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sat, 25 Jan 2025 08:44:37 +1100 Subject: [PATCH 2/2] Tweaked the wording of this additon. --- doc/classes/CharacterBody2D.xml | 2 +- doc/classes/CharacterBody3D.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/CharacterBody2D.xml b/doc/classes/CharacterBody2D.xml index 9c5f4bb6bf9e..1807d51db09b 100644 --- a/doc/classes/CharacterBody2D.xml +++ b/doc/classes/CharacterBody2D.xml @@ -166,7 +166,7 @@ If [code]false[/code], the body will slide on floor's slopes when [member velocity] applies a downward force. - Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be > 0. + Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be greater than zero. Sets the motion mode which defines the behavior of [method move_and_slide]. See [enum MotionMode] constants for available modes. diff --git a/doc/classes/CharacterBody3D.xml b/doc/classes/CharacterBody3D.xml index 3c7882141c0c..3871aa3746a8 100644 --- a/doc/classes/CharacterBody3D.xml +++ b/doc/classes/CharacterBody3D.xml @@ -157,7 +157,7 @@ If [code]false[/code], the body will slide on floor's slopes when [member velocity] applies a downward force. - Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be > 0. + Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be greater than zero. Sets the motion mode which defines the behavior of [method move_and_slide]. See [enum MotionMode] constants for available modes.