PDA

View Full Version : Object rotating around world axis, not own axis


tacbob
02-15-2007, 01:07 AM
How can I get an object to rotate around its own axis and not around the world axis??

Thanks

farshizzo
02-15-2007, 09:12 AM
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:object.rotate(0,1,0,90,viz.RELATIVE_LOCAL)