WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

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


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.


Reply With Quote
Old 07-25-2007, 09:20 AM
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

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 04:43 PM.

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