Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by TheNerdyPlane · May 26, 2016 at 08:20 AM · tutorialdoor

Door tutorial unity 5?

I am trying to find a tutorial on how to make a door in unity 5. The problem is, whatever video I watch is for an older version of unity, and have old scripting. I am just wondering if anyone knows either how to, or a tutorial that shows how to make a door for unity 5. Thanks.

Comment
Add comment · Show 8
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Coaster-Mind · May 26, 2016 at 08:26 AM 1
Share

What for door? How does it need to react? Why does it need to do it what it needs to do and how does it need to do what it needs to do?

There are a ton of methods and tricks.

Also, most older tutorials still work for todays unity.

Edit: Just for fun: “THE DOOR PROBLE$$anonymous$$”

avatar image TheNerdyPlane Coaster-Mind · May 26, 2016 at 08:39 AM 0
Share

I dont what $$anonymous$$d the door does, just as long as it actually works! The tutorials that I have watched dont, they are for older versions. Something like a trigger on the ground, or the player can press the enter key or something to open it when he is close to the door would be preferable though.

avatar image Mmmpies TheNerdyPlane · May 26, 2016 at 09:41 AM 0
Share

I did one of these last year, it ain't pretty but no reason it shouldn't work now, it uses a mouse click to activate the door.

Open and close a door

Show more comments
avatar image KdRWaylander Coaster-Mind · May 26, 2016 at 11:58 AM 0
Share

I like the Door Problem :)

avatar image TheNerdyPlane Coaster-Mind · May 26, 2016 at 12:22 PM 0
Share

btw nice website

avatar image Cherno · May 26, 2016 at 11:21 AM 1
Share

A simple door, sliding or rotating, only needs transform.position or transform.rotation along with lerping, and OnTriggerEnter. These things have been features of Unity since the very beginning.

avatar image TheNerdyPlane Cherno · May 26, 2016 at 12:24 PM 0
Share

I was just trying to figure out how to do it though! I have worked it out now.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by TheNerdyPlane · May 26, 2016 at 12:27 PM

I have figured out how to do it. It was actually pretty simple. I just had to heavily modify two scripts that I has using to attack an enemy and make him die. Now you click enter on the door, and it opens and closes. I just have to make the animations and textures better now, and I will have a mighty fine door working! Thanks for the help everyone.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

47 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Looking for tutorial for door animation using mecanim 2 Answers

FPS TUTORIAL: AI robot not taking damage. 0 Answers

2d tutorial error 2 Answers

learn c#? please help. 1 Answer

Questions about Lightning, Navigation , Tutorialsource 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges