Shayne,

If you add your model as a child of a MatrixTransform (or related) node, you just need to update the matrix of that parent node.

-Todd

Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
This is probably a silly and simple question, but does anyone have an example of how to move a model explicitly without using a canned animation? Most of the examples I’ve seen, update the position in an animation using UpdateCallback.

I have a position update coming from another process outside the scenegraph that I need to feed into the model to update its position. Do I need to use an UpdateCallback or a NodeVisitor approach?

Any help would be most appreciated…

Thanks,

-Shayne


------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
Todd J. Furlong
Inv3rsion, LLC
http://www.inv3rsion.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to