Flipping a card - Best way of animating?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
death_au
Posts: 38
Joined: Tue Apr 17, 2007 9:48 am
Location: Australia

Flipping a card - Best way of animating?

Post by death_au »

I need to animate taking a card off a deck. The effect I want is for a card to flip up off a "deck". Basically, I want the card to follow the arrow in the picture below:
Image
I was thinking probably a fly circle animator and a rotation animator, but it seems like an awful lot of fiddling to get it to work properly.
I then thought a follow spline animator (and the rotation one), which seems to work a lot better, but how do I get it to stop?
I want the card to follow the spline I created, flip 180 degrees in the same time period, pause for a short time, then fly down to fill one of the "blank" spots down the bottom... What do you guys think would be the best way of achieving this?
Image
Post Reply