WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-25-2007, 10:03 AM
Vinicius Lima Vinicius Lima is offline
Member
 
Join Date: Jul 2007
Posts: 40
Scaling and Rotating in Vizard

Hi,

I am having trouble with scaling and rotating in Vizard. Its seems like Vizard is considering the origin of the world to perfomr these two operations. I tried to rotate a group of objects and it did taking the world 0,0,0 as origin. Also, when I scaled them, their distance in relation to the origin of the world was scaled. I did not use the getchild note because they are separate objects which were added later to the world.

Thanks,

Vinicius
Reply With Quote
  #2  
Old 07-25-2007, 10:20 AM
bbzbryce
Guest
 
Posts: n/a
Try the using viz.REL_LOCAL as the second argument of your rotation function to rotate in local coordinates rather than global coordinates.

This should work as well for the scale function. Check the docs for possible coordinate systems to use.
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 03:08 AM.


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