On Fri, 2009-12-18 at 11:08 +0000, David Martín wrote:
> Hi,
> 
> i´ve got an osgWidget::Box and some osgWidget::Label as it´s children
> 
> i can set the initial box position with setPosition(x, y, z) with no 
> problems, but if i want to change the position later in time, the same method 
> does not work
> 
> do i need to call some other method in order to move the box and all it´s 
> children to the new position??

Just be sure and call ->update() after modifying the osgWidget::Window
(a MatrixTransform) object as much as you need.

> 
> Thank you!
> 
> Cheers,
> David
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=21656#21656
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-- 
Follow us on Twitter! http://twitter.com/emperorlinux

EmperorLinux, Inc.
http://www.emperorlinux.com
1-888-651-6686

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to