I'm new to this thing. I'm trying to get the value of a RayCast2D. I have the following code inside of a PhysicsProcess.
bool on_Ground = GetNode("ground_ray").IsColliding();
Then I get an error that says:
error CS1061: 'Node' does not contain a definition for 'IsColliding' and no accessible extension method 'IsColliding' accepting a first argument of type 'Node' could be found (are you missing a using directive or an assembly reference?)
Same occurs
I'm super omegalul pepega, and have no idea why I'm getting this or what it means. Afaik, IsColliding() does exist and the reason this isn't working is because it's looking at a Node and not a RayCast2D.