Create a pathing texture that blocks ground and flying in the shape of the gate. You could also just put pathing blockers (air) in the front of/behind the gate.
Pathing Texture? What is that?
Edit: Wait, I would have to stick to the gate as Destructable, because it can be opened and stuff. So pathing blockers is a good idea. Thanks.