I just noticed the disable_z_glide in the manual but nothing (var disable_z_glide = 1; and disable_z_glide = 1;) helped out. My entity is still running on top of the blocks if it runs into a corner.

- Usche