Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 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
1
Question by Ludde · Oct 31, 2010 at 06:26 PM · animationdooropensetup

Door Animation Setup

At the moment I have done a door animation in 3dsmax.

Door is closed at frame 0. Between frame 0 and 20 it opens. Then I don't know how to animate - What shall be between frame 20 and 100?

Shall it be open, 20-80 and then I animate it to close 80-100? Or shall I just close directly after frame 20 and closed at frame 40? How does it works and how should I do? I don't know how to scrpt it yet but I think I need to make the animation first.

Just to clear out things, I want my door to be opened via pressing a button at the wall, and it is a sci-fi "blast door" that opens very fast, if it makes any diffrence.

Thanks :)

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by StephanK · Oct 31, 2010 at 11:16 PM

You could either make an animation that opens, stays open, and then closes, but that would mean you would have to tinker with the animation when you should ever decide to change the opening time of a door. Also you might not want it to shut down automatically while you are walking through.
A better idea would be to just have an opening animation and maybe a closing animation (which basically is the reversed opening animation) and trigger them accordingly. To make the door stay open you can just set the opening animation wrap mode to clamp forever. That should keep it open until you trigger the closing animation.
If you are lazy you could also just set the time for opening animation to -1 to reverse it and use it as closing animation.

Comment
Add comment · Show 2 · 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
avatar image Ludde · Nov 01, 2010 at 09:29 PM 0
Share

Thanks! But is there anywhere I can read about weap mode and stuff? Need a little explanation.

avatar image StephanK · Nov 01, 2010 at 10:35 PM 0
Share

Yes, the documentation that installed with Unity... There are some pages on how the animation system works.

avatar image
0

Answer by IceCreamTruck · Oct 31, 2010 at 11:36 PM

For my project, I did four door animation..

  1. Door closed - prolly it's 1-1?
  2. Door opening - 1-20 in your case?
  3. Door open - 20-20
  4. Door closing - 21-40

hope this helps.. :)

Comment
Add comment · Show 5 · 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
avatar image Ludde · Nov 01, 2010 at 09:27 PM 0
Share

If I animate my door, can I have a working mesh collider on it?

avatar image IceCreamTruck · Nov 05, 2010 at 01:15 AM 0
Share

Yes, you can. You should be able to tick Generate Colliders when you import your 3D asset in your scene, and that should do the trick. :)

avatar image Ludde · Nov 07, 2010 at 10:43 PM 0
Share

I have ticked "Genereate Colliders" but I can still talk through my animated door.

avatar image IceCreamTruck · Nov 08, 2010 at 01:21 AM 0
Share

You've clicked apply and reimport the door?

avatar image Ludde · Nov 08, 2010 at 04:39 PM 0
Share

Ah, thanks. When I applied the collider to both seperate door (I have two) it worked :D

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

No one has followed this question yet.

Related Questions

How to open a door with the "E" key 1 Answer

Open Door Via Trigger Collider 0 Answers

Door will not open with the press of a button 1 Answer

open and close door 0 Answers

Respawn script and door animation help 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