Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Making a swinging door

A Tutorial for Source Engine

No ads for members. Membership is 100% free. Sign up!

Updates

menu
Various Fixes 2y
  • - English Mistakes
  • - Text Formatting

You will learn how to male a swinging door...

Last one of my old tutorials... Now, it makes me want to make some new ones...

This tutorial will be about using the phys_hinge entity, for exemple to create a swinging door...

In fact, it can be used for a lot of things. Here, I will make a door for a container.

Don't worry, this is not so hard to use...

START 

1. First, make the container (walls, doors and all...) or use a model.

2. Then,  "cut" the doors in the container and tie them as a func_physbox.

A func_physbox is simply a physic solid... This is something really useful in a lot of situations.

Now, change it's properties :

  • Name : door_container
  • Material Type : Metal
  • Mass Scale : 4
  •   Flags : "Physgun is NOT allowed to pick this up"
The Mass Scale can make the door heavier or lighter... Do as you want, but this is a nice value for this kind of door.

3. Place a phys_hinge at the top corner of your door (it depends if it's the left/right door), and move the hinge point (the blue point) to the middle of the door.

Change it's properties :

  • Entity 1 : door_container
  • Friction : 8

The Friction determine if the door rotate easily or no... Once again, changing this value can give a feeling of a heavier/lighter door.

This is the process to make a swinging door. If you want to do the other one, do the same thing, but with the other door.

END

Notes :
  • Some steps have their own screenshots, don't forget to look at them
  • I hope that you have learn something and that it was not so hard to understand
  • Thanks for reading !!

Comments

Sign up to access this!

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Creator
Foofinoo avatar Cell 1 Flag
Affiliation
Cell 1
Foofinoo username pic Joined 6y ago
Offline
Cell 1 Flag Affiliation: Cell 1
14,196 points Ranked 397th
30 medals 3 legendary 6 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
Writer

Submitter

Foofinoo avatar
Foofinoo username pic Joined 6y ago
Dead
Cell 1 Flag Affiliation: Cell 1
14,196 points Ranked 397th
30 medals 3 legendary 6 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
Foofinoo avatar
Foofinoo
Cell 1 Flag
Affiliation
Cell 1

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 2
  • remove_red_eye 4.3k
  • mode_comment 2
  • access_time 5y
  • access_time 2y
  • refresh 2y

More from Submitter

menu

More Mapping Tutorials