- Home /
Wall only player can walk through
Hi Everyone, I'm completely new to unity and a n00b at scripting but am slowly learning from tutorials, I was wondering if anyone knew if there was a way to make a wall that only the player could walk through? I want to create safe zones for the player so the enemy can't kill them, ANY ideas would be much appreciated thank you!
Comment
Answer by dannyskim · May 22, 2012 at 07:00 PM
Layer based collision was created for this specific purpose:
http://unity3d.com/support/documentation/Components/Layer%20Based%20Collision%20detection
Your answer
Follow this Question
Related Questions
How do I get rid of one way walls? 4 Answers
Enemy walks through walls 2 Answers
How can i make the ray cast don't go through the walls 1 Answer
Snapping to walls 1 Answer
Best way to make many 3D walls? 2 Answers