On Tue, 28 Jun 2011, xsaint wrote:
> Hello Anders,
>
> Yes you are right, after i moved the offset position, the plane do take
> off without sinking into the ground.
> But this give rise to another issue, as long as i am on external views
> (eg chase, fly by views), it renders as if the CG is at the tail. When i
> pitch up/down, the origin seems to be the tail.
>
> I guess the external views are controlled by FG globally, is there a
> variable/node i can manipulate via nasal? As i was flying, i tried to
> change some offset positions on Sim/View node (for chase view), nothing
> seems to move the origin back to the ctr of the plane.
You can offset the target point for external views (which by default is
the origin of the main 3d model coordinate system, not the CG). See for
example Aircraft/Short_Empire/Short_Empire-set.xml:
<!-- Move the center of the external views. -->
<view n="1">
<config>
<target-z-offset-m type="double"> 10.0 </target-z-offset-m>
</config>
</view>
...
Note that your aircraft still rotates around its current CG, the effect
you see is caused by the camera targeting the 3d model coordinate system
origin, which in your case apparently is close to the tail.
Cheers,
Anders
--
---------------------------------------------------------------------------
Anders Gidenstam
WWW: http://www.gidenstam.org/FlightGear/
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel