- Home /
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?
Answer by adrianjmejias · Jun 23, 2018 at 05:57 PM
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
Your answer
Follow this Question
Related Questions
My player glitching on moving collider 0 Answers
Enemy goes through walls 2 Answers
Moving object on plane 1 Answer
How to transform global position of an object 1 Answer
Why is my object not moving? 1 Answer