Hi all! I'm trying to get this card sorting Godot 4.x project to work on a canvas layer; I want the cards to stay in the foreground on the UI while the camera pans across a scene in the background. But I just can't get it to work.
Once the CardHand node (which contains the individual cards) is a child of a CanvasLayer node, Godot stops detecting collisions. Originally I thought this might have to do with the fact that the project uses intersect_point and not intersect_point_on_canvas but that method appears to have been removed in Godot 4.0 and I can't find what, if anything, replaced it.
Is there a proper way to adapt a Godot 4.x project that uses intersect_point to work on the canvas layer? More specifically, how can I get this particular project working on a canvas layer? Thanks for any insight, I'm stumped!