View Single Post
  #5  
Old 02-05-2013, 11:17 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can control any type of imported OSG animation from Vizard. Only animations created with the OSG seguence helper store a mesh for each frame. See the following thread for some information on animation controls:

http://forum.worldviz.com/showthread.php?t=4419

Add the following lines to the example script in that thread to toggle the water UV animation:
Code:
#toggle between pause/play
water_animation = animations.getChild('water')
vizact.onkeydown('w',water_animation.setAnimationState,viz.TOGGLE)
Reply With Quote