Hi all, I'm currently working a code to save/load a Dragger just with text datas.
So I know its position, children, ... and I save its Matrix rotation (Quat) to load the exact position of the dragged node. But when I set the matrix of the dragger on loading, the node under Dragger seems to be unmodified. To be clear : I have a node along Z axis (cylinder) and its parent is a cylinder Dragger along Y (Y is axis of rotation). When I use the dragger, the cylinder rotate as requested. I get the Dragger's matrix rotation in a quat and save it. When I want to make the dragger on loading, I create all my scene graph, get the dragger and set its matrix like is was using the Quat. But the node under the dragger seems not rotated... I assume that the Dragger children are transformated only during a Drag event... isn't it ? Is there a way to set a dragger in the state it was, without having to save the scenegraph, but just using the datas ? (position, rotation, ...) Thanks for you help, Regards, Vincent.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

