PDA

View Full Version : spinning


djones1010
04-13-2009, 11:10 AM
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
spinAction = vizact.spin(0,0,1,90) # Spin an object around the z axis at 90 deg/sec.
object.add(spinAction)