From 92073c2fcdaf2ec01e77d6e8a97e98acbe4d38db Mon Sep 17 00:00:00 2001 From: rafallus Date: Mon, 17 Jan 2022 18:04:43 -0600 Subject: [PATCH] Fix `input_ray_pickable` documentation for `CollisionObject3D` (cherry picked from commit ba7d3f8331435dfcca3f584e5e7e614b00f19825) --- doc/classes/CollisionObject.xml | 2 +- doc/classes/CollisionObject2D.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/CollisionObject.xml b/doc/classes/CollisionObject.xml index eb2b9115da5..f5cf271f530 100644 --- a/doc/classes/CollisionObject.xml +++ b/doc/classes/CollisionObject.xml @@ -182,7 +182,7 @@ If [code]true[/code], the [CollisionObject] will continue to receive input events as the mouse is dragged across its shapes. - If [code]true[/code], the [CollisionObject]'s shapes will respond to [RayCast]s. + If [code]true[/code], this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events. Requires at least one [member collision_layer] bit to be set. diff --git a/doc/classes/CollisionObject2D.xml b/doc/classes/CollisionObject2D.xml index 3b603d3fcb0..61b64242d1b 100644 --- a/doc/classes/CollisionObject2D.xml +++ b/doc/classes/CollisionObject2D.xml @@ -207,7 +207,7 @@ [b]Note:[/b] A contact is detected if object A is in any of the layers that object B scans, or object B is in any layers that object A scans. See [url=https://docs.godotengine.org/en/latest/tutorials/physics/physics_introduction.html#collision-layers-and-masks]Collision layers and masks[/url] in the documentation for more information. - If [code]true[/code], this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events. Requires at least one [code]collision_layer[/code] bit to be set. + If [code]true[/code], this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events. Requires at least one [member collision_layer] bit to be set.