Is there a way to let a ``RayCast3D`` collide with a ``CollisionShape2D``?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Toothgapsy

Hello dear community!

I have currently designed a node that renders a camera/ui onto a viewport on a mesh. One can simply assign a PackedScene and it will be displayed on the PlaneMesh. To make use of the “floating UI” i would really need to be able to detect a collision from the collision shape in the viewport with a 3D raycast from my player. Is there any possibility for that?