Hi, I'm very new to Godot and this is surprisingly confusing to me. I want the player character to detect when it collides with a certain other object (bubbles), so I added an Area2D node to detect them, separate from the CollisionShape2D to make sure it can stand on the ground. I've put it in the player instead of the other objects because I want the player to do an action while in the object, and it sounds easier for the player to keep track of those collisions, rather than every object individually having to reference the player. Though for some reason, they just won't detect each other, no matter the layers and masks in their collision settings. I have managed to have the player detect itself when the CharacterBody2D and Area2D have overlapping collisions, but not the other objects. The error probably stems from the player having 2 collision shapes, but I don't really know how to fix it. Any ideas?
#Can't collide with correct Area2D
1 messages · Page 1 of 1 (latest)
Just in case, here are the collision info on all relevant collision shapes
Even when both BubbleDetector and the bubbles have both layer 2 and mask 2 enabled it gives me nothing
Here's the script that never activates
If I understand this correctly you want to connect to the area_entered signal instead of body_entered in your Bubble Detector
Since bubbles are areas and not bodies