summaryrefslogtreecommitdiffstats
path: root/doc/classes/CharacterBody2D.xml
diff options
context:
space:
mode:
authorfabriceci <fabricecipolla@gmail.com>2022-08-25 19:35:52 +0200
committerfabriceci <fabricecipolla@gmail.com>2022-08-26 12:26:25 +0200
commitf8cc88fab3e62f39e6cc0d4ca91bfb760477cb9a (patch)
tree3a40af806ef5623d64dbd6fa7223c914551dd29a /doc/classes/CharacterBody2D.xml
parentdc4193b478dec409132bf50d90fdb4c6760a109a (diff)
downloadredot-engine-f8cc88fab3e62f39e6cc0d4ca91bfb760477cb9a.tar.gz
Restore RigidBody2/3D, SoftBody names in physics
Diffstat (limited to 'doc/classes/CharacterBody2D.xml')
-rw-r--r--doc/classes/CharacterBody2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/CharacterBody2D.xml b/doc/classes/CharacterBody2D.xml
index 2d169904f7..2f8e1a7bb8 100644
--- a/doc/classes/CharacterBody2D.xml
+++ b/doc/classes/CharacterBody2D.xml
@@ -131,7 +131,7 @@
<method name="move_and_slide">
<return type="bool" />
<description>
- Moves the body based on [member velocity]. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a [CharacterBody2D] or [RigidDynamicBody2D], it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes.
+ Moves the body based on [member velocity]. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a [CharacterBody2D] or [RigidBody2D], it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes.
Modifies [member velocity] if a slide collision occurred. To get the latest collision call [method get_last_slide_collision], for detailed information about collisions that occurred, use [method get_slide_collision].
When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions.
The general behavior and available properties change according to the [member motion_mode].