Making a sliding door (Problem)

dubmeister

L1: Registered
Aug 17, 2019
2
1
Hello! I'm currently in the process of making a dumb lil map to learn the hammer editor and I'm trying to make a sliding door to enter into a building. Much like the ones in Turbine and 2Fort, it's the glass door with the handle in it.

20190902205929_1.jpg
20190902205935_1.jpg


The problem is that each time it opens, the handles remain where they are. And since they have collision they are impassible without crouch jumping over. I tried disabling the collsion and it hasn't worked. And it is grouped with the other brushes that make up the door so I don't know what to do. Any help is appreciated. Thanks!

-peyton
 

Yaki

aa
Sep 3, 2018
416
254
What are the handle props called? Are they two different props? If they're separate props, you can parent the handles to the door.

To do that, make the handles prop_dynamic (which is a prop_static with more options but uses more engine resources). Then, name the doors--Each door should have unique names (EXAMPLE, stage1_respawn_door_blu_1, or sillydumbdoor, or anything you want). Last, under your handle's prop_dynamic "Parent" parameter, place the EXAMPLE name in that spot to glue that handle to the door.

Make sure both handles are connected to the correct doors, otherwise you'll get undesired results.
 
Last edited:

dubmeister

L1: Registered
Aug 17, 2019
2
1
Awesome! Worked perfectly, thank you!

What are the handle props called? Are they two different props? If they're separate props, you can parent the handles to the door.

To do that, make the handles prop_dynamic (which is a prop_static with more options but uses more engine resources). Then, name the doors--Each door should have unique names (EXAMPLE, stage1_respawn_door_blu_1, or sillydumbdoor, or anything you want). Last, under your handle's prop_dynamic "Parent" parameter, place the EXAMPLE name in that spot to glue that handle to the door.

Make sure both handles are connected to the correct doors, otherwise you'll get undesired results.