x


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 :)

more ▼

asked Oct 31 '10 at 06:26 PM

Ludde gravatar image

Ludde
55 11 11 19

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

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.

more ▼

answered Oct 31 '10 at 11:16 PM

StephanK gravatar image

StephanK
6k 39 53 93

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

Nov 01 '10 at 09:29 PM Ludde

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

Nov 01 '10 at 10:35 PM StephanK
(comments are locked)
10|3000 characters needed characters left

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.. :)

more ▼

answered Oct 31 '10 at 11:36 PM

IceCreamTruck gravatar image

IceCreamTruck
13 1 1 5

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

Nov 01 '10 at 09:27 PM Ludde

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. :)

Nov 05 '10 at 01:15 AM IceCreamTruck

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

Nov 07 '10 at 10:43 PM Ludde

You've clicked apply and reimport the door?

Nov 08 '10 at 01:21 AM IceCreamTruck

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

Nov 08 '10 at 04:39 PM Ludde
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3790
x193
x94
x45

asked: Oct 31 '10 at 06:26 PM

Seen: 1532 times

Last Updated: Oct 31 '10 at 06:26 PM