WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-24-2006, 12:27 AM
vsully vsully is offline
Member
 
Join Date: Sep 2004
Posts: 24
Send a message via AIM to vsully
stopping a goto()

Hi,

How can a stop a goto() action from completing? I have a node3d which I've began a goto() command, but now I want to interrupt it before destination. <node3d>.clear(all/current_action) doesn't seem to work.

Thanks
Reply With Quote
  #2  
Old 01-24-2006, 01:43 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The built-in animations of nodes will be deprecated in future versions of Vizard. Use the vizact library instead. Here is how you would create the goto action:
Code:
node.add(vizact.goto(x,y,z,speed))
To stop the action you would do the following:
Code:
node.clear(viz.CURRENT_ACTION)
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 05:42 AM.


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