|
#1
|
|||
|
|||
Hi,
It seems as though there is another transform below the child object, or the actual geometry of the child object is not centered around the origin. To check if there is a transform below the child object follow these steps: 1) Locate the model in the "Resource" view of your script in Vizard. 2) Right-click on the model and click "Properties" 3) Expand the items in the tree until you locate the child name 4) Transform nodes are represented by a yellow gear looking icon (see attached image) If there are any of these nodes below your child node then rotations may cause offsets. The most practical solution is to call getchild on a node that doesn't have a transform below it. If this doesn't fix your problem, then that means the actual geometry data of your model is not centered around the origin. To fix this you will have to modify your model in some 3D editor. |
#2
|
|||
|
|||
more rotating child problems
Hi-
I'm trying to rotate a child of a VRML model along its own center. I've set the pivot in 3ds max but when I export to VRML, use getchild in Vizard, and then try to apply a rotation, the rotation occurs about the entire model's center. I'm assuming I'm doing something wrong in 3ds max but I can't figure it out. Does anyone have an idea . . . . -Condileeza Rice |
#3
|
|||
|
|||
Did you check in Vizard if there is a transform bellow the child object as talked about by farshizio?
__________________
Paul Elliott WorldViz LLC |
|
|