View Single Post
  #2  
Old 10-12-2007, 03:29 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
There is no built-in link operator that can perform this inversion. However, the following code should work:
Code:
def InvertPitch(n):
	euler = n.getEuler()
	euler[1] = -euler[1]
	n.setEuler(euler)
vizact.onupdate(viz.PRIORITY_LINKS+1,InvertPitch,node)
Reply With Quote