Re: [osg-users] Question about switching between MatrixManipulator

2009-10-12 Thread J.P. Delport
Hi, have you tried the home() and setHome() functions? jp Shiina Ringo wrote: Hi, Here just a quetion confused me: I have a KeySwitchMatrixManipulator , which served as a swithcer between 2 MatrixManipulator : a default Trackball and a MatrixManipulator that I defined(bounding to a object)

Re: [osg-users] Question about switching between MatrixManipulator

2009-10-12 Thread Shiina Ringo
Hi, JP Thanks for your advice. I have tried setHome() befor, and this funtion just set the default view position for the corresponding MatrixManipulator. Here my problem is that: when I hit the button to switch the 2 MatrixManipulator, if I switch the trackball to the manipulator that I

[osg-users] Question about switching between MatrixManipulator

2009-10-09 Thread Shiina Ringo
Hi, Here just a quetion confused me: I have a KeySwitchMatrixManipulator , which served as a swithcer between 2 MatrixManipulator : a default Trackball and a MatrixManipulator that I defined(bounding to a object) . The problem is : when I hit the button to switch the above MatrixManipulator