From 27fc50d54ac7b02266e219575ea3c2e39eb52242 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 fde905d92fb..5a5ad9f2f38 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 908cda2b958..33ef2078106 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=$DOCS_URL/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.