Maik Justus > > Hi Dene, > > I don't think it's the on-ground parameter. It's the logic, how to > determine, if a waypoint is reached. The distance to the > waypoint must > be smaller than a threshold, and this threshold is speed depended. > Especially if you have two waypoints rather near to each other, the > AI-logic moving the objects fail to reach the waypoints. It would be > better to not test for "dist < threshold" but for the > derivation of dist > being positive (if it was negative before). I already asked Durk for > changing this logic. > > Maik > > Dene schrieb am 04.02.2007 06:06: > > > > Hi Vivian > > > > if you're looking at the code... when a ship coded as a > slow aircraft > > in > > the flightplan.... approaches a waypoint it gets a severe > case of the > > "wiggles" on. I suspect there is some interaction between the > > "on-ground" parameter and the slow speed that can't > register that the > > object has "hit" that way point and is moving on. I notice it > > particularly on my scenario in the middle of the Cook Strait.... > >
I have already assessed that the AIAircraft flightplan logic is probably inappropriate and over-complex for AIShips. I will try a more plain vanilla solution derived from the AICarrier stuff, at least to kick-off with. Vivian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
