View Single Post
Old 06-10-2011, 02:55 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,457
Can you post some example code that does not work for you?
The following uses vizact.easeIn to start the spin slowly:
import viz
import vizact

gallery = viz.addChild('gallery.ive')
ball = viz.addChild('ball.wrl',pos=[0,1.8,3])

spin = vizact.spinTo(euler=[180,0,0],speed=45,interpolate=vizact.easeIn)

vizact.onkeydown(' ',ball.addAction,spin)
Reply With Quote