I have a model of a battery box, and the battery packs are mated so they can slide in and out of the box. I'm using an advanced mate for min/max distance, which allows me to bottom out the battery inside the box, and take it out a certain amount.
I also have a hinged lid on the box, and I want to create a mate that will prevent the battery from coming out if the lid is closed. Right now, if I close the lid, and move the box, the batteries come out through the lid. I used collision detection, but that only works temporarily when the dialog box is open. I can't set it to be permanent.
Any suggestions?

I also have a hinged lid on the box, and I want to create a mate that will prevent the battery from coming out if the lid is closed. Right now, if I close the lid, and move the box, the batteries come out through the lid. I used collision detection, but that only works temporarily when the dialog box is open. I can't set it to be permanent.
Any suggestions?
