PDA

View Full Version : stopping a goto()


vsully
01-24-2006, 12:27 AM
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

farshizzo
01-24-2006, 01:43 PM
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:node.add(vizact.goto(x,y,z,speed))To stop the action you would do the following:node.clear(viz.CURRENT_ACTION)