The situation is that I have an sprite with two perpendicular Raycast2Ds that at, a certain point, I'd like to check whether the sprite is at the side of one area.
The result is that get-collision-point() is always 0 and getcollider() returns null. If I log the castto Vector, it always prints the same value ( (0, 50) ) .
My guess is that the cast-to vector is not affected by parent node transformations. Eitherway, I am not finding to find a solution where the raycast detects the area (Node2D that I swapped to Area2D in order to check if, maybe, the problem is the kind of object). Am I right? Should I get rid of Raycast2D node and use getdirectspace_state() ?
Any ideas? Thanks in advance!