|
Post by therealguymins on Jul 9, 2011 21:58:51 GMT
Ok. I made a physbox door, that when used, is motion enabled and swings on its hinge. I made a small brush where the locking thing should be- you know, the thing that goes in the door when you turn the knob- and I made a small trigger on the inside of the door frame that accepts only physics objects. When the physbox parented to the door goes through the trigger, the motion is disabled. Only thing is when it should disable, it takes around half a second to do so, so when it "shuts" the door is sticking out of the frame a foot. If you want to see what I tried, here is a .vmf. For the door to only swing in one direction, you would be able to have to pull it towards you, which can't be done is CSS. Anyway, Just wanted to post something interesting. Attachments:
|
|