WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-12-2004, 09:34 AM
Zafer Zafer is offline
Member
 
Join Date: Jan 2004
Location: maryland
Posts: 7
animation

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
Attached Files
File Type: zip assembly.zip (68.4 KB, 617 views)
Reply With Quote
  #2  
Old 04-12-2004, 09:47 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC