Space ship stuck on walls (from example project)

I got part of the answer by myself, It should be use a capsule as a collision mesh and not the box that I was using, but still not perfect though.