Page 1 of 2

How to animate gear doors?

PostPosted: Fri Jan 09, 2004 4:11 pm
by Sterk
Hi ,it's me again.So, finally I succsessfully animated gears,but:
1.How to animate gear doors?In tutorials(I check a lot of them)is recommended to name them like c_gear_door_l
or c_gear_door_r and then animate them,setting keyframes somewhere in 0-20(0-closed,in 20-open) range...Is it right?
Anyway I do so and no doors animation in sim and they are is closed on start...

2.Why my gear only retracting,if press G back there is no extension animation...?

Re: How to animate gear doors?

PostPosted: Fri Jan 09, 2004 5:21 pm
by Katahu
Some tutorials are a little inaccurate, so there are times that you have to learn on your own.

Instead of naming the doors as: c_gear_door_l, etc., use these tag instead:

c_gear_top_XX [where XX is a number]

l_gear_top_XX

r_gear_top_XX

the reason I use XX is because there will be parts that will have the same tag. Especially the gears.

The gears themselves, for extend-retract, will just be tagged as:

c_gear_top
l_gear_top
r_gear_top

These are the parts that will be used to show the Extend-Retract animation.

Just make sure the key frame are within the 0-100 range.

For gear compressions, use these tags:

c_gear_bottom
l_gear_bottom
r_gear_bottom

If you need to use the same tag over and over again, make sure the ending numbers have an underscroll ( _ )before them.

Examples:

c_gear_top_01 -----not----- c_gear_top01

This is true for various other tags.

For rolling wheels, use JUST these two tags:

c_tire_still
c_tire_blurred
c_tire_still_XX [where XX is a number]. This is for four-wheeled aircraft.
l_tire_still

etc.

You don't need key-framing. Just make sure the X-Axis of the wheels are lined up with the world axis shown in the lower-right corners of the viewports.

I tried using tags like c_tire_slow [with or without key-framing], but the simulator renders it wierd or doesn't render it. I learned this the hard way when I made the Mercedes.

Re: How to animate gear doors?

PostPosted: Fri Jan 09, 2004 6:17 pm
by Hellhound
umm... he wasn't asking about the gear (no offense intended.) but the gear doors use rotaion only. to get the right axis (in gmax) create a small cylinder where you want the axis, and then attach the door to the cylinder (click the attach button on the cylender) and rename the cylender and animate it

Re: How to animate gear doors?

PostPosted: Fri Jan 09, 2004 7:08 pm
by Sterk
Yep!Doors started working unexpectedly-by the way without any change in names or something-I just reloaded sim...

Now...
There is no extension animation and gears are named exactly as you said-top,bottom,etc...

And may be it's not animation problem...because indicator in cockpit dazn show extension...By the way-is gear position indication depends on real gear position...I mean indicator shows "down" if only extension animation is performed correctly?
Hm-m,I dont think so because even there is no animation on gear indicator shows retraction and extension anyway,u understand what I mean...am I right...?

Re: How to animate gear doors?

PostPosted: Sat Jan 10, 2004 3:24 am
by Firestriker
Under normal contitions (meaning no failures) when you hit the "g" key you tell the sim to start counting up/down a variable value. Assumming the value 0 is fully retracted and 16383 is fully extended (don't recall the exact values) then when the counting sequence reaches one extreme or the other then the gauge on the panel would display either up or down depending on the value of the variable. It really has nothing to do with with the fact that your animation is completed or not... that is just a "visual" effect of the model. The entry in the aircraft.cfg file for that particular gear causes a scalar effect to be applied to the counting sequence for that gear so you can time them with an extend/retract sound effect (wav file). Not all aircraft have nice even flowing and syncronized gears, the DC-3 is an example. One set of main gears is almost fully retracted before the other starts. Learning the animation timing features of your design software is important in situations like this.

Here is a simple c_gear setup (gmax archive):

ftp://oregon-coast.net/c_gear_sample.zip

Lou

Re: How to animate gear doors?

PostPosted: Sat Jan 10, 2004 3:01 pm
by Sterk
Ok.I checked it and found that gear animation is OK,what happens is that gear daznt extends if speed is above 60 ,as speed srarts dropping below 60 extension is starting...Look like cfg file twiking needed...

But what is the parameter controlling this?

Re: How to animate gear doors?

PostPosted: Sat Jan 10, 2004 4:31 pm
by Travis
Go check the default Learjet's aircraft.cfg file parameters, under the [contact_points] section.  It describes all the entries of each contact point and what they do.

Re: How to animate gear doors?

PostPosted: Sat Jan 10, 2004 6:03 pm
by Sterk
Contact points?...
Hmm...
I know what each contact point do,but...wich one is responsible for gear extension speed?
Ok there is one that named "damage threshold" that defines what is the speed that gear is damaged,but this param is set to 1200-like Learjet's one...dont think this param controls gear extension speed,because my gear extends at exactly 60 wich is even below stall speed...

Re: How to animate gear doors?

PostPosted: Sat Jan 10, 2004 6:21 pm
by Sterk
And even more-I tried to set damage threshold to some insane values like 20000-no effect, my gears extends only when aircraft speed drops to this misterious value-60 knots...
And,logically-if gears are not damaged at take off speed which is about 130-150 why it should be damaged on more than 60?
No it's something else...And I have no idea what...

Re: How to animate gear doors?

PostPosted: Sat Jan 10, 2004 6:54 pm
by Travis
The damage threshold is the impact speed in ft per second that the gear gets damaged at, when you touch down.  

Re: How to animate gear doors?

PostPosted: Sat Jan 10, 2004 7:01 pm
by Travis
Well, I looked at one of my aircraft.cfgs and couldn't find any reference to the gear extension limit, so it may be in the airfile, which you will need AirEd to open.  This is a freeware utility that can be found on SimV's utilities section or the general utilities section.

Re: How to animate gear doors?

PostPosted: Sun Jan 11, 2004 4:45 am
by Sterk
feet per second?!No it's measured in feet per minute according to SDK-by the something strange with this value-for exaple-this param for Boeing is about 1200fpm-it's about 24 km/h-what is wrong?gear's damage speed is 24km/h?!Assuming that it may be really feet per second it'is about 1400 km/h - isn't it too much?

Re: How to animate gear doors?

PostPosted: Sun Jan 11, 2004 8:23 am
by Sterk
2Ender Baron:
I have an AirEd,but I usualy use FSEdit for editing-very comfortable-you change params and FSEdit updates cfg and air both...and it has user-friendly interface and not just numbers,numbers,numbers...

By the way-daz anybody know why description daznt show up in sim main menu-in cfg it appears between these-" " as it should be...

Re: How to animate gear doors?

PostPosted: Sun Jan 11, 2004 1:39 pm
by aceronzo
Sterk the gear ext,ret, is adjusted by the last 2 numbers in the cfg. file in the contact points in each wheel line.example=point.0=1, -9.583333, 0.0, -7.40, 32768.90, 1.0, 0.596, 0.0, 0.7, 2.5000, 0.80, 4.0, 5.0, 0.0, /\example=300.0(  Airspeed limit for retraction (KIAS),example=300.0 (Airspeed that gear gets damage at (KIAS).Hope this helps.  aceronzo

Re: How to animate gear doors?

PostPosted: Sun Jan 11, 2004 3:52 pm
by Sterk
Yes!Exactly,aceronzo!Just missed it ::)
Thanx a lo-o-o-t!!!