WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Local coordinate and global coordinate (https://forum.worldviz.com/showthread.php?t=5796)

haohaoxuexi1 07-24-2016 12:21 PM

Local coordinate and global coordinate
 
In the Vizard help, the coordinate is described like below.

Key Concepts
•By default, objects are added as children of the world and positioned in world coordinates.
•Each node has its own local coordinate system that moves with the node.
•A node's coordinate system has its origin at the node's center and axes aligned with the node's orientation.

I have a question, if one node with a local coordinate in pos [1,0,1], so if I apply a spin or moveto command, the object will transform on the base of [1,0,1]

what if I want the object spin or moveto on the base of pos [0,0,0], is there anything can do with it except for change the coordinate from the modeling software and add the object again to Vizard?

Jeff 07-24-2016 07:02 PM

You could use the node.center command to change the point the objects rotates around. Or open the object in Inspector, translate the model, and then save it out again.

haohaoxuexi1 07-24-2016 07:21 PM

Quote:

Originally Posted by Jeff (Post 18577)
You could use the node.center command to change the point the objects rotates around. Or open the object in Inspector, translate the model, and then save it out again.

Ok Thanks a lot


All times are GMT -7. The time now is 10:33 PM.

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