<div dir="ltr"><div><div><div><div><div><div><div><div>Hi James,<br><br></div>It's hard to know what is amiss as we don't know how the CameraManipulator is written and how exactly everything is glued together.<br><br></div>As general note, the OSG's doesn't require the use of CameraManipulator, you can set the viewer's Camera's ViewMatrix yourself on each new frame if you expand on frame loop into it's consitent parts i.e.<br><br></div>while(!viewer.done())<br>{<br></div> viewer.advance();<br></div> viewer.eventTraversal();<br></div> viewer.updateTraversal();<br><br></div> viewer.getCamara()->setViewMatrix(computeTheAppropriateViewMatrixToPlaceViewInsideCar());<br><br></div> viewer.renderingTraversals();<br><div><div><div><div><div>}<br><br><br></div><div>Robert</div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 November 2015 at 21:34, James Nute <span dir="ltr"><<a href="mailto:newten82@gmail.com" target="_blank">newten82@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to create a camera manipulator that looks like I am driving a model around from the inside. So far I have tried adding the node to a the camera manipulator as well as the camera itself as a child. I even added the loaded model to a PositionAttitudeTransform node and then adding the PositionAttitudeTransform node to the camera. Effect is always the same.<br>
<br>
The manipulator works as expected moving around the scene but the model is stationary.<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
James<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=65556#65556" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=65556#65556</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">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></div>