Curtis L. Olson writes:

> I am working on interfacing an external flight model to FlightGear via
> the network.  This particular code reports an altitude of zero/0.0f
> when the wheels are resting at sea level.
> 
> The c172 3d model is drawn so that it's center of gravity is at the
> reported altitude.  Also the pilot view point is also relative to this
> altitude.
> 
> This means that on the ground, the out-the-window view point is just a
> few inches above the pavement.  And also the 3d model is sunk into the
> ground.
> 
> What do I need to do to get the pilot view point and the center of the
> 3d model up to the correct altitude?

It used to be 
--prop:/sim/model/z-offset="offset in meters"

but I guess it's
--prop:/sim/model/offsets/z-m=X

now,   but I am  not sure if this info is actually available
At least I couldn't find it with the httpd interface
the closest thing I got was the "path name to" the model

tempting-to-say-data-should-actually-be-in-C'ly yr's

Norman



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to