simple trick for avoid a unit to gliiiide on terrain parts