Thread
:
Object rotating around world axis, not own axis
View Single Post
#
2
02-15-2007, 09:12 AM
farshizzo
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
All the rotate commands accept an optional parameter that specifies how to apply the rotation. For example, to here is how to apply a 90 degree rotation around the local y-axis:
Code:
object.rotate(0,1,0,90,viz.RELATIVE_LOCAL)
farshizzo
View Public Profile
Find all posts by farshizzo