Does anybody know of any way of implementing an area that can be crossed by infantry, but not tanks(or that sort of thing)? Basically, I'm just making a WW2 mod(for personal use mainly, unless anyones interested

Always DDay and Blitzkrieg.) and was wondering if i could in anyway make any of the tank blocking things like hedgehogs and cubes.
Any help would be appreciated even if it's a no-go. I tried to think of examples in the game, but couldn't think of any. It's odd for me to ask something about coding, it's normally(and still is) the graphics :cry: