viewpoint follow inside a node #1899
-
Now I use osg::ref_ptrosgEarth::Util::EarthManipulatorem, setting a viewpoint inside a plane node,like sitting on the plane. I use setTetherNode() to viewpoint follow the plane.But when the plane is running,the viewpoint is outside the node.not inside the plane.I want to know how change to make the viewpoint follow till inside the node when the node is running?How can I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Look at the members of Failing all that you may need to use a different camera manipulator to realize a real cockpit view. |
Beta Was this translation helpful? Give feedback.
Look at the members of
Viewpoint
and see what you need to change. There is arange
member that is the distance from the camera to the tether node, and apositionOffset
member for local XYZ offsets.Failing all that you may need to use a different camera manipulator to realize a real cockpit view.