WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-13-2009, 11:10 AM
djones1010 djones1010 is offline
Member
 
Join Date: Nov 2008
Posts: 15
spinning

how do you spin something in place without it going around the x or y axis
Reply With Quote
  #2  
Old 04-13-2009, 11:53 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:46 PM.


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