Search ExpertsHow it works
Notifications
Enemy goes through wall
Date: July 21, 2019Session Time: 7 mins
Answered by Galal Hassan
Programmer, Generalist, Designer, Artist
5
14 Sessions
USD $2 /min
Return to Top Questions
Question Detail
So I’m trying to make it so that the player can collide with the way but not the enemy. The same for the enemy. The player works just fine but the enemy won’t collide with the wall. He just goes through it. I have set up a layer collision matrix and turned off the collisions but it still won't work.
Collision
Unity
Physics
Unity Version: 2018.2
Customer Review
5
Thank you so much for helping with this! I will certainly give the raycast idea a shot. I'll probably do some more research on it. If i can't figure it out I'll be sure to contact you with the link. Thank you so much again!
July 21, 2019