Player not being seen as a body entering

Godot Version

item is on layer 2, 4, 6 masked on 1, 2, 4
func _on_area_entered(area: Area2D) → void:
print(“entered”)

Question

I am trying make items for my game but the items aren’t seeing the player enter their collision areas(both have 2Dareas and collision areas). The bullets are being seen though dispite them not sharing layers player is on layer 2-4, 6 masked on 1, 2, 4, 6 item is on layer 2, 4, 6 masked on 1, 2, 4 bullets are masked/layered on 3, 5.

the area_entered signal only emits on other Area2Ds, is your player a CharacterBody2D? If so, connect to the body_entered signal instead.

1 Like