In Stealth tutorial, have run into problem with Ethan running through walls

So I have been doing the Stealth tutorial for a class but I ran into a problem. Ethan the character runs through all the walls and does not get detected by the alarm systems for some reason. I have gone back and have looked at the scripts and it all seems fine. I have the capsule collider and a rigidbody on Ethan as well as the map has the collision mesh on it. Would really appreciate help.

Thank you.

Hi, sorry to up this post after a few month, but I have the same problem :(. I have check inspector, no "is Trigger" check, i have also the capsule collider, rigidbody and the collision mesh. I can't understand why I have this problem ..

1 Answer

1

For documentation purposes, on the “Rigid Body” set of attributes for Ethan’s Character, an checkbox attribute called “Is Kinematic” controls whether Ethan gets stopped by walls or can run through them. To avoid having Ethan being able to cross walls, make sure the “Is Kinematic” checkbox is unchecked.