Hi Jean-Sébastien, I just tried that ... the problem is that the plane is not a referenced node... so I cannot put it under a transform. For the same reason I cannot put it under the dragger.
Last, If I try InfinitePlane (referenced node), this is just a drawable, so it getNormal() method always return me the same value... whatever be the Dragger state. And I need a plane normal() in world coordinate... Thanks for the idea, but I haved it some hours left ^^ Vincent. 2008/12/18 Jean-Sébastien Guay <jean-sebastien.g...@cm-labs.com> > Hi Vincent, > > I know throwing new things will not directly fix your problem, but perhaps > it will give you ideas. > > First, your osg::Plane is surely under a ShapeDrawable, in a Geode > somewhere... Why not add a MatrixTransform above that and just apply the > matrix to that transform? > > Second, and probably even simpler, why not just put your plane's Geode > under the dragger like your other Geode? You can move nodes around your > scenegraph as you want, as long as you do it in the update traversal. > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org