Define a new layer "Player" , give to your player this layer. then in your enemy Rigidbody or collision component there is a section called include layer, select player layer. enemy ignore any force incoming from the player.