Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-05-02 Thread Gerhard Wesp
On Sat, May 01, 2004 at 09:15:09AM +0200, Mathias Fröhlich wrote: 1. Have a callback function in FGInterface which is able to provide you a terrain level and a surface normal for a given lat/lon pair. I'd even suggest also giving linear and rotational velocities for the surface polygon(s).

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-05-02 Thread Mathias Fröhlich
On Sonntag, 2. Mai 2004 01:18, Norman Vine wrote: Every thing you need, or perhaps I should say, everything FlightGear knows about the local scenery is contained in in the hitlist data structure. SRC / Scenery / hitlist.[ch]xx AFAIK The only doumentation is the code it self. :) Ok, will

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-05-02 Thread Mathias Fröhlich
On Sonntag, 2. Mai 2004 12:23, Gerhard Wesp wrote: On Sat, May 01, 2004 at 09:15:09AM +0200, Mathias Fröhlich wrote: 1. Have a callback function in FGInterface which is able to provide you a terrain level and a surface normal for a given lat/lon pair. I'd even suggest also giving linear and

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-05-01 Thread Mathias Fröhlich
On Freitag, 30. April 2004 18:57, Andy Ross wrote: Erik Hofman wrote: Why do you think that collision detection is not implemented? You can crash to the ground and to the buildings (maybe even other aircraft?), so there must be some logic behind this. Ground handling right now only uses

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-05-01 Thread Wolfram Kuss
On Sat, 1 May 2004 09:15:09 +0200, you wrote: I think we have three possible solutions from the FDM - Flightgear interface point of view. 1. Have a callback function in FGInterface which is able to provide you a terrain level and a surface normal for a given lat/lon pair. 2. On every update

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-05-01 Thread Mathias Fröhlich
On Samstag, 1. Mai 2004 13:54, Wolfram Kuss wrote: On Sat, 1 May 2004 09:15:09 +0200, you wrote: I think we have three possible solutions from the FDM - Flightgear interface point of view. 1. Have a callback function in FGInterface which is able to provide you a terrain level and a surface

RE: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-05-01 Thread Norman Vine
Mathias Fröhlich writes: What this method 3 was meant to do is to minimize the callback traffic by having a FDM local tile cache and handling the actual queries to the elevation data and normals based on this cache. So, can somone help me out with a short descripion how flightgears surface

[Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread marco . gugel
Hi, as I told to Andy Ross I would like to implement a truck driving simulation in FlightGear but my doubt regards the collision detection, which is not implemented! It's only a week that I study FlightGear code and I have now no idea if the collision detection is reasonably implementable or not

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Andy Ross
Marco Gugel wrote: as I told to Andy Ross I would like to implement a truck driving simulation in FlightGear but my doubt regards the collision detection, which is not implemented! It's only a week that I study FlightGear code and I have now no idea if the collision detection is reasonably

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Erik Hofman
[EMAIL PROTECTED] wrote: Hi, as I told to Andy Ross I would like to implement a truck driving simulation in FlightGear but my doubt regards the collision detection, which is not implemented! It's only a week that I study FlightGear code and I have now no idea if the collision detection is

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Andy Ross
Erik Hofman wrote: Why do you think that collision detection is not implemented? You can crash to the ground and to the buildings (maybe even other aircraft?), so there must be some logic behind this. Ground handling right now only uses a flat, horizontal ground plane at the MSL altitude of

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Jim Wilson
marco.gugel said: Hi, as I told to Andy Ross I would like to implement a truck driving simulation in FlightGear but my doubt regards the collision detection, which is not implemented! It's only a week that I study FlightGear code and I have now no idea if the collision detection is

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Jon S Berndt
Andy Ross [EMAIL PROTECTED] wrote: Erik Hofman wrote: Why do you think that collision detection is not implemented? You can crash to the ground and to the buildings (maybe even other aircraft?), so there must be some logic behind this. AFAIK all the FDMs share the same bug here. it's a

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Al West
On Friday 30 April 2004 17:50, Erik Hofman wrote: [EMAIL PROTECTED] wrote: Hi, as I told to Andy Ross I would like to implement a truck driving simulation in FlightGear but my doubt regards the collision detection, which is not implemented! It's only a week that I study FlightGear code

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Jim Wilson
Andy Ross said: Erik Hofman wrote: Why do you think that collision detection is not implemented? You can crash to the ground and to the buildings (maybe even other aircraft?), so there must be some logic behind this. Ground handling right now only uses a flat, horizontal ground plane

Re: [Flightgear-devel] COLLISION DETECTION: possible or not?

2004-04-30 Thread Rick Ansell
On Fri, 30 Apr 2004 09:49:01 -0700 Andy Ross [EMAIL PROTECTED] wrote: Marco Gugel wrote: as I told to Andy Ross I would like to implement a truck driving simulation in FlightGear but my doubt regards the collision detection, which is not implemented! It's only a week that I study