![]() |
Object rotating around world axis, not own axis
How can I get an object to rotate around its own axis and not around the world axis??
Thanks |
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) |
All times are GMT -7. The time now is 08:38 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC