First Person glue at wall

I read and did the example of the “Unity Game Development Essentials” (excellent book). The example has a cabana.
When I hit the cabana´s wall, I get tied at the wall.

Any solution?

By “cabana” do you mean the wood hut with the sliding metal door?

If so, I get stuck only if I back into the interior corners. If you look carefully at the model you’ll see why. There is some funky geometry going on where you get stuck within the mesh. It has nothing to do with any scripts or settings, the object itself is to blame. I don’t get stuck if I touch the walls, as your post suggests, so maybe you have something else going on.

Cabana I neam the “Outpost” object in the book.

http://www.iringsizer.com/teste/ilha.html

Get the object behind the Church and enter the “Cabana Mozart”. Touch the wall inside the outpost and you´ll see what I said.

Other thing is, if you enter the Church, inside it the walls disappear.

I see what you mean about sticking to the cabana walls. In my version, I only got stuck in the corners. However, in yours, you can also get stuck to the walls. I still think it is the object model itself, although I’m not sure what is causing it in your case.

My answer would be to make your own object model for the cabanas.

The interior of your church walls disappear because they are “single-sided polygons.” Try making them double sided in your 3D modeling program or just add interior geometry.