Mathias Fröhlich

> 
> On Saturday 11 March 2006 01:44, Georg Vollnhals wrote:
> > Of course the ship-model is hardened when put into the scenery as a
> > static object. It also works when I make a moving ship-object with fixed
> > direction (see listed XML-file at the bottom of this message).
> > Also creating a flight-plan and let the ship "fly" at ground-level works
> > very fine and impressive.
> > But I cannot get a hardened and landable surface.
> >
> > May be anyone (Dave Culp?) can answer whether it is possible to create
> > "flightplan-models" with hardened surface?
> I hope I am allowed to answer too :)
> 
> Well flightplans are ignored by the AICarrier that is true.
> Also AIAircraft do not contribute to the ground computaitions.
> 
> Carriers have their own 'flightplan'. Vivian has coded the typical 'stay
> in an
> operation box' 'flightplan' for the carrier. So it is not easy to make
> that
> work with flightplans.
> 
> I believe that AIModels will need a SGSubsystem which could either be
> something interpreting usual flightplans or that carrier box thing or may
> be
> a nasal subsystem, so that every AIModel can behave like the author
> scripted
> in nasal without hardcoding that in c++.
> 
> For the solidness we will need IMO a hierarchical bounding box collider
> which
> is updated instead of rebuilt at each update(). The presence of movable
> objects like the carrier and the need to keep aircraft on the deck even if
> the carrier turns, this must be done with special care for these
> movements.
> Any yes I know that this does not yet work right, but this is not due to
> the
> way the FDM 'see' the carrier surface move rather than a usual problem of
> viscosous friction models in all our FDM's.
> 
> For this current short term problem.
> I believe that it would be possible to make ship's surfaces solid and make
> ships but not carriers follow flightplans.
> An other alternative would be to move that <solid> tag into AIBase ...
> Let's see ...
> 

Just to add a little to that - stay-in-a-box mode is selectable on/off from
the nimitz-demo file, and the limits of the box are selectable.

If you want a ship which has solid decks, add it to the nimitz-demo file as
another carrier, and make the path to the 3d model whatever you want it to
be. You might be able to constrain the operations box enough for your needs,
otherwise it's only a straight course and fixed speed atm, I'm afraid.

HTH

Vivian



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to