Hi Asif, probably you will need screen aligned camera. Have a look at osghud example. When your cylinder is part of the screen camera, it doesnt scale or translate unless you do it. Probably you want to make something like compass
On Thu, Nov 7, 2019 at 9:09 AM Asif Bahrainwala <abahrainw...@gmail.com> wrote: > Hi, > > Just attached a tripped down version of my code > Notice that I am using cylinders to function as directional arrow > Here the cylinders go through the same transformation as al the other nodes > I would like the cylinders to rotate but NOT translate and NOT scale > > Thank you! > > Cheers, > Asif > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=76869#76869 > > > > > Attachments: > http://forum.openscenegraph.org//files/main_984.cpp > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org