> -----Original Message-----
> From: Detlef Faber [mailto:fa...@sol2500.net]
> Sent: 22 February 2009 12:25
> To: vivian.mea...@lineone.net; FlightGear developers discussions
> Subject: Re: [Flightgear-devel] Submodels on AI Objects
> 
> Am Sonntag, den 22.02.2009, 11:16 +0000 schrieb Vivian Meazza:
> > Detlef Faber wrote
> >
> > > -----Original Message-----
> > > From: [mailto:i...@faber-it.de]
> > > Sent: 22 February 2009 09:12
> > > To: FlightGear developers discussions
> > > Subject: [Flightgear-devel] Submodels on AI Objects
> > >
> > > Hello exerybody,
> > >
> > > I've been trying for quite a while now to attach submodels to AI- or
> > > Scenery Objects. I thought it was done once on the Ferry scenario, but
> I
> > > havebn't found any clue.
> > >
> > > Can anybody give me a hint?
> > >
> >
> > It used to work on any AI object, except MP. And yes, it used to be on
> one
> > of the ferry models, but it seems to have been removed (by me? Can't
> > remember!). I need to test to see if it still works. It was never
> > implemented for Scenery Objects, as I thought that such a utility would
> have
> > been superseded by particles.
> >
> It is good to have the collision reports, when measuring distances. I
> was playing around with self steering AI Vehicles and for Obstacle
> avoidance and ground following submodels would be useful.
> 
> > But quite a lot has broken recently in the submodel/AIBallistic area.
> I'm
> > working on it, but without success so far.
> >
> > Vivian

Well, it seems to still work here. You need to add this tag inside the
<entry> tag in the scenario file.

<submodels>
        <serviceable type="bool">true</serviceable>
        <path>Models/Geometry/Ferry/ferry-submodels1.xml</path>
</submodels>

where <path> encloses the path to the submodel file

Sounds as if you are doing something quite interesting with submodels.
However, I don't think you will always get "hits" on all scenery items: only
horizontal surfaces are usually solid, IIRC.

Vivian



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to