From 021347e17855a88d2a79bb36bee3681504103415 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Wed, 26 Jun 2019 00:12:00 +0100 Subject: [PATCH] Document VisualServer.instances_cull_ray (cherry picked from commit cb5233ee12deeae532e6c99d8c0fd5899b3b37b5) --- doc/classes/VisualServer.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index 26da1ee8d2f..0e509f46ed4 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -1932,6 +1932,8 @@ + Returns an array of object IDs intersecting with the provided 3D ray. Only visual 3D nodes are considered, such as [MeshInstance] or [DirectionalLight]. Use [method @GDscript.instance_from_id] to obtain the actual nodes. A scenario RID must be provided, which is available in the [World] you want to query. + Warning: this function is primarily intended for editor usage. For in-game use cases, prefer physics collision.