WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-12-2004, 05:13 PM
tavaksai tavaksai is offline
Member
 
Join Date: Jul 2004
Posts: 22
node3d.center function

Hi,

Is it possible to stop the node3d.center(...) function from changing the position of the object as soon as it is called?

For example:

obj1 = viz.add('box.wrl')
obj1.rotate(40,0,0)
obj1.center(-1,0,-1)

As soon as the center function is called, it changes the rotation
(translation really) of obj1 relative to new center. I would like obj1 to stay still when center function is called and rotate around the new center only when obj1.rotate(...) is used.


Max
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 01:33 AM.


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