Sven
06-07-2010, 09:00 AM
Hi,
I generated a simple maze using Blender, consisting of the actual maze and two additional smaller objects, which are attached to the maze's wall.
In Vizard, I can import this maze as a wrl-file without any problems, also extracting the two additional objects via getChild worked. I can manipulate the child-objects scaling, the rotation, color, all ok. However, when I query the objects' coordinates via getPosition, both the parent (maze) and the children (additional objects) have the same coordinates, namely (0,0,0). Querying the position with with ABS_GLOBAL also didn't help.
Could someone please help me out here?
I generated a simple maze using Blender, consisting of the actual maze and two additional smaller objects, which are attached to the maze's wall.
In Vizard, I can import this maze as a wrl-file without any problems, also extracting the two additional objects via getChild worked. I can manipulate the child-objects scaling, the rotation, color, all ok. However, when I query the objects' coordinates via getPosition, both the parent (maze) and the children (additional objects) have the same coordinates, namely (0,0,0). Querying the position with with ABS_GLOBAL also didn't help.
Could someone please help me out here?