View Single Post
  #2  
Old 02-10-2006, 12:39 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

You can specify the rotation of a bone in world coordinates. Just use the viz.ABSOLUTE_WORLD flag when applying the rotation.
Code:
bone.rotate(0,1,0,90,viz.ABSOLUTE_WORLD)
There have been bugs with applying an absolute rotation to a bone. They have been fixed in 3.0.
Reply With Quote