How to detect collision between an actor and the player character without specifying the character blueprint?

Or this.