how to make my player move through enemies?,how to make my player move through enemies

how can I make my player move though enemies?
Im beginner in Unity and Im trying to ake a game like chaos faction.
while making the game I saw that my player can be blocked by an enemy and can’t move through it.
I know that I can check “is triggered” but If I do that, the player falls through the floor.
how can I make my player move through enemies?

Using layers,

First

  • Set a layer for your player

  • Set another layer for your enemies

Go to

Edit > ProjectSettings > Physics

And turn off the Collission between players and enemies

119415-capture.png

thank you!