Doors that open at an angle

  • Thread starter Thread starter ARes_V
  • Start date Start date
A

ARes_V

Guest
Hey guys. I'm trying to create cellar doors. The doors need to open on a slant and the rotating door only wants to open horizontally. Even if you know how to get a rotating door to rotate up or down that would help. Sounds confusing doesn’t it … well if you need clarification I could send you an example of how my doors don’t work. Also If some one knows how to get rotating doors to only open one way that would be nice. Thanks
 
Look around google for func_rotating tutorials. I'm sure you've just let to learn about the origin brush.

It's a brush covered in the origin texture and placed on the axis of what you want to rotate. You then tie it together with the func_rotating entity in question.

Anywhoo I've tried cellar doors and gave up after fiddling with them for a while.

http://www.chatbear.com/board.plm?a=viewthread&b=4989&t=302,1108021052,31966&s=0&id=793958#9

Turns out Hl2 kicks the func_roating entity in the balls, from hl1 days atleast.
 
func_rotating_door only allows 'hinges' to lie on the X, Y or Z axes. slanted hinges won't work. the problem lies in the fact that the hinge in a func_rotating_door is defined by the origin (i.e. the blue helper) only. to make a slanted hinge you'd need two points. the only way would be to use a phys_hinge (which has two points) and a physbox for the door, but this would an elaborate system of constraints to open and close.

as for opening a door one way: there's a 'one way' flag in the func_rotating_door flags tab iirc
 
For a door with an unusual hinge, of course, you could use a func_physbox bound by a phys_hinge, or even use the door's Pitch/Yaw/Roll to try to angle it the way you want (rotating doors generally don't like this, but hey...).
 
bleh i wouldn't fancy doing it that way and besides, if func_rotating_doors are anything like prop_rotating_doors they have a low tolerance for anything a bit funky
 
Thanks guys. But I'm afriaid that i cant use a func_physbox because it's going to be a CS:S map and they dont have the Grav gun. Sigh O well it would have been cool. Thanks for alll the help though
 
ARes_V said:
Thanks guys. But I'm afriaid that i cant use a func_physbox because it's going to be a CS:S map and they dont have the Grav gun. Sigh O well it would have been cool. Thanks for alll the help though
Rig 'er up with some extra moving stuff, maybe a small invisible func_door_rotating near the hinge area, and you can get the door to open without the gravity gun ;)
 
or use an elaborate (and invisible) contraption made from phys_lengthconstraints attached to the doors at one end and path_tracks at the other, which can be triggered by touch or by use

or maybe use a slideconstraint for the same effect

you won't need the GG for this
 
Back
Top