body.is_in_group("Goal") instead of "Goal" in body.get_groups()

Just a note that you can use body.is_in_group("Goal") instead of "Goal" in body.get_groups().

Just a tad bit nicer :wink:

(does this end up below the lesson of the Godot 4 3D course automagically?)

6 Likes

Aye cool, always like to see different ways that things can be done as some read better for different people :slight_smile:

Yeah, this should appear in the discussions below the lecture

Privacy & Terms