WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-19-2007, 09:48 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If you want the other objects to spin relative to D1, then you should add those objects as children of D1. For example:
Code:
d1 = viz.add('mymodel.osg')
d2 = viz.add('mymodel.osg',parent=d1)
.
.
d5 = viz.add('mymodel.osg',parent=d1)


d1.spin(0,1,0,45)

#These objects will spin around d1 z-axis
d2.spin(0,0,1,45)
.
.
d5.spin(0,0,1,45)
Reply With Quote
 

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 10:31 AM.


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