Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 2 
Send Topic Print
Swapping parts during an animation (Read 1601 times)
Jan 17th, 2005 at 1:29pm

Gnome   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 244
*****
 
Can I do this?
I need to give the impression that a part (flaps) is changing shape but actually bending or morphing it is out of the question so can I simply remove the part during the animation, say at frame 80 and replace it with the alternate shape part at frame 81?

Does this make sense?  Smiley

Thanks.


Kev
 
IP Logged
 
Reply #1 - Jan 17th, 2005 at 1:59pm

Felix/FFDS   Offline
Admin
FINALLY an official Granddad!
Orlando, FL

Gender: male
Posts: 1000000627
*****
 
It makes sense, but you can't - in the middle of an animation.

I will be corrected, but you *should* be able to tie parts visibility to an XML animation.

 

Felix/FFDS...
IP Logged
 
Reply #2 - Jan 17th, 2005 at 5:16pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
If it's a keyframe you might be able to do the old trick of "hiding" the part until needed...

What you would do is build/animate both parts.

1. Part 1 moves until frame 80, at frame 81 it would then move to somehwere that it is hidden from view and it would remain still until the end of the cycle.

2. Part 2 would be still and hidden until frame 81. At frame 81 the part would move out of hiding and carry out the animation as per normal.

It's a lot more complex, and requires more work (not to mention a place to hide the parts).

If the XML idea works it would probably be the better choice. Smiley I know less than nothing about XML so won't comment on feasability.
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #3 - Jan 17th, 2005 at 5:20pm

Felix/FFDS   Offline
Admin
FINALLY an official Granddad!
Orlando, FL

Gender: male
Posts: 1000000627
*****
 
Sigh - that's one thing that was easy with Aircraft Animator for the FS98/CFS models.  If you had and animated part with a time formula, the part would disappear if there was no "time" associated.

very useful in rotating parts like P-40 type landing gear.

 

Felix/FFDS...
IP Logged
 
Reply #4 - Jan 17th, 2005 at 5:41pm

Gnome   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 244
*****
 
Aw rats.  It was the FS98 thing I was hoping to do.  Nowhere to hide the part as it is actually the whole wing.  Undecided

Oh well, model won't be as good as I'd hoped...  Wink

Thanks folks.


Kev
 
IP Logged
 
Reply #5 - Jan 17th, 2005 at 8:37pm

aceronzo   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 232
*****
 
Gnome,
Depending on how much you want it to change shape,you can make the Flap with multiple parts,and have them extend,rotate ect...It will change the shape some.Just a thought.

aceronzo
 
IP Logged
 
Reply #6 - Jan 17th, 2005 at 8:38pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
Strange to think that some things could be accomplished with the old tools that we can't figure out with the new ones. Smiley

Gnome, perhaps if you explain exactly what you are trying to accomplish there might be another way of doing it?
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #7 - Jan 18th, 2005 at 9:26am

AuMaV   Offline
Colonel
Old Git
The Great Southern Land

Gender: male
Posts: 293
*****
 
Hi
If ya talking FSDS 2 make both parts(object1 and object2) a child of a hierarcy box which is called l_flaps with all the XYZ coords the same,
next give object 1 a precondition of
condition name Object1
variable ID l_flaps
operation FInRange
value1 0
value2 80

give Object 2 a precondition of
condition name Object2
variable ID l_flaps
operation FInRange
value1 80
value2 100

This will give a snap transition if you want smooth,then animate each object seperatly as lever_flaps(ie no hierarcy box or child parent) with one object a bit behind the other and overlap the value 2 and 1 in the preconditions above

Hope this helps
Wozza 

 
IP Logged
 
Reply #8 - Jan 18th, 2005 at 1:23pm

Gnome   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 244
*****
 
Doh, I should have said.  I will be using GMAX to do the animation.

The part is really complicated as it is the entire wing and a snap switch from one shape to the other would be fine as it happens very quickly.

Seperating all the segments (between 12 and 44 depending upon how ambitious I get and the poly count!) will probably be too difficult but we'll see...


Thanks folks, looks like there is no easy way to do this.

Why do I do such wierd, off the wall aircraft?  Smiley


Kev
 
IP Logged
 
Reply #9 - Jan 18th, 2005 at 2:01pm

Felix/FFDS   Offline
Admin
FINALLY an official Granddad!
Orlando, FL

Gender: male
Posts: 1000000627
*****
 
Quote:
Why do I do such wierd, off the wall aircraft?  Smiley


Kev



Let's see... you're a Simviation regular (number and frequency of posts notwithstanding), and a member since Oct. 2002 (in this incarnation of the Forums) isn't that reason enough?

On a serious note - if people DIDN'T "push the envelope" how would many of the design features/developments get made?

 

Felix/FFDS...
IP Logged
 
Reply #10 - Jan 18th, 2005 at 6:06pm

Gnome   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 244
*****
 
<G> Mustard mitt, I am rather pleased with the last couple of designs.  I suppose the danger is my falling into the trap of "how can I top that?", completely forgetting that er, I don't have to...  s'only a hobby.  Wink


Kev
 
IP Logged
 
Reply #11 - Jan 19th, 2005 at 1:00am

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
I'm with Felix, push the envelope! All sorts of great  finds have happened just because someone needed to do something unusual. Smiley
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #12 - Jan 19th, 2005 at 5:31am

Lionel_Goh   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 67
*****
 
hey kev,

Another possiblity is to use scale animation...

let's call the part that needs to be hidden part A and the part which needs to appear part B.

okay.. scale part B really small.. and hide it inside part A. Then as mentioned above.. at frame let's say 80.. create a scale key and another at 81 for both objects..

animate them so that part A will become very small and part B becomes big.

hope you get what i mean Wink
 
IP Logged
 
Reply #13 - Jan 19th, 2005 at 7:35am

Felix/FFDS   Offline
Admin
FINALLY an official Granddad!
Orlando, FL

Gender: male
Posts: 1000000627
*****
 
Quote:
hey kev,

Another possiblity is to use scale animation...

let's call the part that needs to be hidden part A and the part which needs to appear part B.

okay.. scale part B really small.. and hide it inside part A. Then as mentioned above.. at frame let's say 80.. create a scale key and another at 81 for both objects..

animate them so that part A will become very small and part B becomes big.

hope you get what i mean Wink


Although that would be nice, and would obviate the need for two separate parts, Flight Simulator does not support scaling animations.  You can only use translation and rotation animations (on the complete part)


 

Felix/FFDS...
IP Logged
 
Reply #14 - Jan 19th, 2005 at 11:21am

Lionel_Goh   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 67
*****
 
oh..  Shocked

i didn't know that

thanks for the info felix.
 
IP Logged
 
Pages: 1 2 
Send Topic Print