Do you mean you're using osgviewer? If so, spacebar affects the camera position -- it doesn't affect the transformation of individual objects in your scene.
If you want your light to move independently of the rest of your scene, based on some key press, you'll need to add your own event handler to capture your key press and modify the appropriate transformation matrices accordingly. Hope that helps, -Paul > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, June 12, 2007 8:41 AM > To: osg-users > Subject: [osg-users] Light > > Dear All > > I added to my scene two light nodes. > > Now, when i reset the camera position by the space bar, it > obviously take in account also the light nodes. > > How can avoid it?...how can i exclude the lights when i reset > the position? > > Thanks > > > ------------------------------------------------------ > Passa a Infostrada. ADSL e Telefono senza limiti e senza > canone Telecom http://click.libero.it/infostrada > > > _______________________________________________ > osg-users mailing list > osg-users@openscenegraph.net > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/