View Single Post
  #2  
Old 08-25-2015, 04:37 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can create a parent/child hierarchy and then spin the parent:

Code:
import viz
import vizact
viz.go()

viz.addChild('dojo.osgb')

group = viz.addGroup(pos=[0,2,5])
ball = viz.addChild('beachball.osgb',pos=[2,0,0])
ball.setParent(group)

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