Revolving Door via physics Created 18 years ago2006-05-05 06:36:18 UTC by AJ AJ

Created 18 years ago2006-05-05 06:36:18 UTC by AJ AJ

Posted 18 years ago2006-05-05 06:36:18 UTC Post #178519
I already know that you can create a revolving door using the prop_door_rotating entity. What I want is for the door to be operated merely by physics: i.e. the player has to literally push up against the door to make it open, which would be followed by a small amount of free rotation before the door stops. Is this possible?
AJ AJGlorious Overlord
Posted 18 years ago2006-05-05 08:45:42 UTC Post #178527
Yes, using func_hinge.
You simply hang it up atatching it to the side of the "door hole" and it will swing right open for you when you poke on it. :)

I'm not sure about the name though. (func_hinge)

Anyway, when you see the properties infront of you, you will figgure it out. ;)

Edit:
Also, slasher_101 once showed me that this hinge door is great when you want to make a breach (similar to my example map)
The door will blow open and then smash in to the wall and bounce back, awsome effect really.
Madcow MadcowSpy zappin my udder
Posted 18 years ago2006-05-05 09:19:24 UTC Post #178531
It's phys_hinge. Thanks. Running some tests now.
AJ AJGlorious Overlord
Posted 18 years ago2006-05-05 23:13:03 UTC Post #178610
theres an example in the source_dk of the first level. Remember the revolving door??

To make it, make two hinges. One hinge at each opposite end vertically. Set the actual rotating part to a func_physbox or prop_physics, and set the name. On the hinges, make "entity one" the name of the rotating door on both of them, and then set the friction to 0. Tadaa!
TheGrimReafer TheGrimReaferADMININATOR
Posted 18 years ago2006-05-06 03:46:16 UTC Post #178638
I actually totally forgot about those revolving gates. Once Steam finishes updating, I'll check it out.

Thanks guys.
AJ AJGlorious Overlord
You must be logged in to post a response.