I am following the tutorial, when I use the Cube shape to make the wall, there is no problem, but when i change the wall shape using cylinder shape, the player can penetrate the wall.
I already change the max depenetration velocity to 10000, but it still not working.
The more complex your collider shapes are, the more Unity’s physics simulation has to calculate. Is there a reason why you don’t use a simple BoxCollider for the fence?