From a3728cb38742b09d14b3d4c5f3cf6eb82e30f0f2 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 19 Jan 2025 08:33:40 +1100 Subject: [PATCH] Specified max_slides must be greater than zero --- 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 30438be18b7..1807d51db09 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 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 474adfc6ffe..3871aa3746a 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 greater than zero. Sets the motion mode which defines the behavior of [method move_and_slide]. See [enum MotionMode] constants for available modes.