View Single Post
  #2  
Old 05-07-2013, 08:41 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Are you using Vizard 3 or 4?

If you are using Vizard 4, then you can use the vizact.spinTo action to animate the viewpoint to look towards a specific point. Example:
Code:
# Animate looking at specified point for half a second
lookAtAction = vizact.spinTo(point=(0,1.8,8),time=0.5,interpolate=vizact.easeOut)

# Add action to main view
viz.MainView.runAction(lookAtAction)
Reply With Quote