yep -- that fixed it.

thanks,
T


On Wed, Feb 3, 2010 at 3:05 PM, Jean-Sébastien Guay <
[email protected]> wrote:

> Hi Ted,
>
>
>  Or, it is if the Camera keeps getting 'pushed' further away as the
>> object is being displaced.
>>
>
> I remember seeing this too. The trick is not to track the MatrixTransform
> itself, but to track its child (if there is no unique child, then reformat
> your graph by creating a single osg::Group below the MatrixTransform that
> contains the MatrixTransform's old children).
>
> For some reason when you setTrackNode(some MatrixTransform) the transform's
> matrix is applied twice which is what I think you're seeing.
>
> Hope this helps,
>
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay    [email protected]
>                               http://www.cm-labs.com/
>                        http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to