![]() |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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. |
![]() |
|
|