<div dir="ltr"><div>Hi Asif,</div><div><br></div><div>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 <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 7, 2019 at 9:09 AM Asif Bahrainwala <<a href="mailto:abahrainwala@gmail.com">abahrainwala@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Just attached a tripped down version of my code<br>
Notice that I am using cylinders to function as directional arrow<br>
Here the cylinders go through the same transformation as al the other nodes<br>
I would like the cylinders to rotate but NOT translate and NOT scale<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Asif<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=76869#76869" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=76869#76869</a><br>
<br>
<br>
<br>
<br>
Attachments: <br>
<a href="http://forum.openscenegraph.org//files/main_984.cpp" rel="noreferrer" target="_blank">http://forum.openscenegraph.org//files/main_984.cpp</a><br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">trajce nikolov nick<br></div>