How to animate gear doors?

Anything to do with Aircraft Design, FSDS, G Max, Aircraft Animator, SDL Edit, etc. Novice or skilled - stop here & learn!

How to animate gear doors?

Postby Sterk » Fri Jan 09, 2004 4:11 pm

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...?
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: How to animate gear doors?

Postby Katahu » Fri Jan 09, 2004 5:21 pm

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.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: How to animate gear doors?

Postby Hellhound » Fri Jan 09, 2004 6:17 pm

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
Image

well of course! i'm trying to hit them!

always fight fire with fire... because you get a bigger one!
User avatar
Hellhound
1st Lieutenant
1st Lieutenant
 
Posts: 305
Joined: Mon Jun 02, 2003 1:05 am
Location: somewhere

Re: How to animate gear doors?

Postby Sterk » Fri Jan 09, 2004 7:08 pm

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...?
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: How to animate gear doors?

Postby Firestriker » Sat Jan 10, 2004 3:24 am

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
Last edited by Firestriker on Sat Jan 10, 2004 3:42 am, edited 1 time in total.
Firestriker
2nd Lieutenant
2nd Lieutenant
 
Posts: 273
Joined: Sun Mar 10, 2002 9:44 pm
Location: Gearhart, Oregon

Re: How to animate gear doors?

Postby Sterk » Sat Jan 10, 2004 3:01 pm

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?
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: How to animate gear doors?

Postby Travis » Sat Jan 10, 2004 4:31 pm

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.
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: How to animate gear doors?

Postby Sterk » Sat Jan 10, 2004 6:03 pm

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...
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: How to animate gear doors?

Postby Sterk » Sat Jan 10, 2004 6:21 pm

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...
Last edited by Sterk on Sat Jan 10, 2004 6:23 pm, edited 1 time in total.
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: How to animate gear doors?

Postby Travis » Sat Jan 10, 2004 6:54 pm

The damage threshold is the impact speed in ft per second that the gear gets damaged at, when you touch down.  
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: How to animate gear doors?

Postby Travis » Sat Jan 10, 2004 7:01 pm

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.
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: How to animate gear doors?

Postby Sterk » Sun Jan 11, 2004 4:45 am

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?
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: How to animate gear doors?

Postby Sterk » Sun Jan 11, 2004 8:23 am

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...
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: How to animate gear doors?

Postby aceronzo » Sun Jan 11, 2004 1:39 pm

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
aceronzo
2nd Lieutenant
2nd Lieutenant
 
Posts: 232
Joined: Sat Feb 15, 2003 8:18 am

Re: How to animate gear doors?

Postby Sterk » Sun Jan 11, 2004 3:52 pm

Yes!Exactly,aceronzo!Just missed it ::)
Thanx a lo-o-o-t!!!
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Next

Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 494 guests