From 7e2d03bd146a15a7f034ef42b2101987d978a6df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 6 Sep 2017 11:35:05 +0200 Subject: [PATCH] doc: Sync classref with current source [ci skip] --- doc/base/classes.xml | 303 ++++++++++++++++++++++++++----------------- 1 file changed, 182 insertions(+), 121 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 2db6a22d318..8d165857265 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -19137,6 +19137,12 @@ + + + + + + @@ -19147,7 +19153,19 @@ + + + + + + + + + + + + @@ -20807,7 +20825,7 @@ - + @@ -20862,10 +20880,10 @@ - + - + @@ -20922,7 +20940,7 @@ - + @@ -24844,100 +24862,6 @@ Kinematic Characters: KinematicBody also has an api for moving objects (the [method move] method) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -24950,6 +24874,20 @@ + + + + + + + + + + + + + + @@ -24968,22 +24906,12 @@ - - + + - Move the body in the given direction, stopping if there is an obstacle. If as a result of a movement there will be any collision then informations about this collision will be in returned dictionary. Dictionary will contains those keys: - - "position" - collision position - - "normal" - collision normal - - "local_shape" - id of this kinematic body shape that took part in a collision - - "travel" - traveled movement before being stopped - - "remainder" - remaining movement before being stopped - - "collider_id" - id of the collider, it can be used when dealing with [PhysicsServer] - - "collider" - colliding body - - "collider_shape_index" - index of the colliding shape, inside collider body "collider_metadata" - If the body did not intersect anything, then an empty dictionary (dir.empty()==true) is returned instead. Please note that this method is less user friendly than [method move_and_slide]. If you don't want to program each edge case manually, then it's recommended to use [method move_and_slide] instead. @@ -24995,7 +24923,7 @@ - + @@ -25224,6 +25152,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Control that displays formatted text. @@ -27727,6 +27755,14 @@ Create a new item in the library, supplied an id. + + + + + + + + @@ -42738,6 +42774,8 @@ + + @@ -45908,6 +45946,12 @@ + + + + + + @@ -46290,6 +46334,14 @@ + + + + + + + + @@ -46484,6 +46536,12 @@ + + + + + + @@ -46528,15 +46586,17 @@ - + - + - + - + - + + + @@ -46560,11 +46620,13 @@ - + - + - + + + @@ -46616,7 +46678,7 @@ - + @@ -49230,7 +49292,6 @@ corner_radius_top_left: 10 corner_raidus_bottom_left: 20 [/codeblock] -