From 289abd37101c29063ec114644f304eed13e184e2 Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Tue, 4 Apr 2017 16:35:33 +0300 Subject: Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable Fixes #7313 --- doc/base/classes.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/base/classes.xml') diff --git a/doc/base/classes.xml b/doc/base/classes.xml index f3d73deaf0..17ae03a636 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -21836,6 +21836,8 @@ + + @@ -21846,6 +21848,7 @@ Move the body to the given position. This is not a teleport, and the body will stop if there is an obstacle. The returned vector is how much movement was remaining before being stopped. + [code]floor_max_angle[/code] is in radians (default is pi/4), and filters which obstacles should be considered as floors/cellings instead of walls. -- cgit v1.2.3