i even tried it without the tags and used debugs but its still not working both of the objects have rigibodies2d and they are not kinementic so idk what the problem is
void OnTrigger2DEnter(Collider2D other){
if(other.gameObject.tag == "player");{
charge = true;
}
}