doors?

Started by frap 3 posts 245 views

Reply on sbox.game
  1. #1
    frap 815
    how do i make doors? there's no door entity in hammer and neither a door component in sbox editor. i can add a hinge to a door model in the sbox editor but i don't know how to control it.....
  2. #2
    Mi.ke 760
    Currently no built in way to do so
  3. #3
    АППАРАТ СВАГАОБЕСПЕЧЕНИЯ 3,385
    Do it the hard way: set an origin and assign the object movement along the Z axis.

    Then, logically, you need to make the object physical and update its position only when it touches.
    And it's also a good idea to limit the object's movement along the X/Y axis so it doesn't rotate 360 ​​degrees.