On Wednesday 07 January 2009, Csaba Halász wrote: > 0x00000000006a3b59 in yasim::Airplane::compileFuselage > (this=0xc066688, f=0x7f84f00bf930) at > src/FDM/YASim/Airplane.cpp:512 512 float segWgt = > len*wid/segs; > (gdb) p segs > $1 = 0 > (gdb) p *f > $3 = {front = {-13.6000004, 0, 1.39999998}, back = {-13.6000004, > 0, 1.39999998}, width = 5.9000001, taper = 0.100000001, > mid = 0, _cx = 1, _cy = 1, _cz = 1, _idrag = 1} > > Possible cause in Aircraft/787/787.xml: > <fuselage ax="-13.6" ay="0" az="1.4" bx="-13.6" by="0.00" > bz="1.4" width="5.9" taper="0.1" midpoint="0"/>
Oh yeah, and if the model is using the standard FG VRP (Visual Reference Point) to align the 3D model and FDM config, ax & ay (and nearly always az) should all be 0.0. az might be different in some aircraft, like the Nimrod MR for example, because the nose has a large offset in the YASim z axis. LeeE ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel