Heyo,
I have recently ported my project to godot 4.1 from 3.4. And I have encountered a few issues.
One of them is that get_groups() no longer seems to function correctly. Instead of returning the nodes groups alone, it now returns the "&" symbol and then the string after it.
Below, I have the snippet of code related to the issue.
func _on_player_face_collider_a_2d_area_shape_entered(_area_rid: RID, area: Area2D, _area_shape_index: int, _local_shape_index: int):
## SET FACE COLLIDER VARIABLES ##
FaceColliderOverlap = true
FaceColliderArea = area.get_groups()
Then, after this function I need to reference the data in order to determine what the player should do according to what the player is facing, but nothing happens because I am getting the "&" Symbol.
returns in debug:
Tags in Facing Collider are [&"SmallObject", &"SmallObjectType"]
And I've tried to edit my code to include the "&" symbol but it doesn't work.
Any help is appreciated as always.