PDA

View Full Version : animation


Zafer
04-12-2004, 09:34 AM
Hi folks!
I am trying to create an animation of a simple assembly process. Each action should follow another. In other words, the completion of one action triggers another action. What is the best way to do this?
I have used the "callback" utility to trigger animation sequences. However, I am experiencing problems. Some of the sequences keep getting triggered more than once!
I have attached my source code. The animation is supposed to stop after the cap is closed. However, it doesn't stop but keeps repeating the previous steps.
Should I use a different technique? Or am I doing something wrong?
Does anyone have any idea?
Thanks a bunch...
Zafer Tuncali

farshizzo
04-12-2004, 09:47 AM
Hi Zafer,

Everything looks fine except for the function SUB_ASSEMBLY_1_ACTION7. In that function you spin smallcap and smallend but you only set the callback for smallcap. Just set the callback for smallend to some dummy function so that it doesn't keep triggering SUB_ASSEMBLY_1_ACTION3. Good luck!