View Single Post
  #2  
Old 01-27-2010, 09:32 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could do this by linking the viewpoint to a group object which is an empty node and then apply a spin action to the group object. After the spin is complete you could disable the link.
Code:
import viz
import vizact

viz.go()

court = viz.add('court.ive')

group = viz.addGroup()
link = viz.link(group,viz.MainView) 

spinAction = vizact.spin(0,1,0,45,8)
group.runAction(spinAction)
Reply With Quote