Hello Everyone!
I'm working on a 2d puzzle-platformer as a learning project, and so far it's been really fun!
I'm still working on basic movement and animations for the main character, and I was trying to use get_collider() together with is_in_group() to determine the kinds of collisions my player is doing so that I can have it react in different ways dependng on the collider.
But I've "hit a wall" right at the start! Whenever I try to use this method to determine if the player has hit a "wall" with is_in_group("wall") it only returns false if the player is on the ground, and only is_in_group("ground") returns true!
Is it normal? Does is_in_group() only return one collider? If so, what are my options? Should I use raycasting? this way I could setup something similar to @razvanc-r tutorial where he uses one raycast for each direction (up, down, left, right)? I also read on the forums a bit about enter_body signals, would that be useful in this case?