<div dir="ltr"><div>After you set the home position try: viewer.getCameraManipulator()->home(1); <br></div><div><br></div><div>Sorry I'm not right in front of my computer right now.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 7, 2019 at 7:26 PM Rodrigo Dias <<a href="mailto:rodrigo1406@gmail.com">rodrigo1406@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 Sam,<br>
<br>
By "home" I think you mean<br>
<br>
<br>
Code:<br>
viewer.getCameraManipulator()->setHomePosition( eye, center, up );<br>
<br>
<br>
<br>
<br>
This really changed camera's position, though it's totally freaking out now (I'm still fiddling with the values in eye, center and up).<br>
<br>
But I have no idea what you meant by "delta time", something to go inside the loop?<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Rodrigo<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=75413#75413" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=75413#75413</a><br>
<br>
<br>
<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>