WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   spinning (https://forum.worldviz.com/showthread.php?t=1967)

djones1010 04-13-2009 11:10 AM

spinning
 
how do you spin something in place without it going around the x or y axis

Jeff 04-13-2009 11:53 AM

With vizact.spin you can specify the axis to spin around. If you just want to spin around the z axis
Code:

spinAction = vizact.spin(0,0,1,90) # Spin an object around the z axis at 90 deg/sec.
object.add(spinAction)



All times are GMT -7. The time now is 02:09 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC