animation

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
jsmurthy4
Posts: 18
Joined: Mon Sep 10, 2007 4:04 pm

animation

Post by jsmurthy4 »

Hi ,
what i want is an animated mesh moves from a place X to Y after reaching Y it plays some other animation and again it moves from Y to Z.

Its example i may have U V W X Y Z or more positions

It may contain repeated animation between UV, YZ and also animation's may picked by situations or randomly

How to do above animation task :?: easly

thank u
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Move the mesh from X to Y either with iterated calls to setPosition in order to make it a smooth move or use the fly straight animator. When you start it moving you start the required animation playing.

When it gets to Y you play the next animation, when the animation is over you then move it from Y to Z, as above. To know when the animation is over you may have to just check each frame if the frame number suggests it's finished the animation.
Image Image Image
jsmurthy4
Posts: 18
Joined: Mon Sep 10, 2007 4:04 pm

Post by jsmurthy4 »

Hi jp,
thank's for ur reply
i will try what u said and i will come back again
Post Reply