jubei_GL
07-08-2002, 09:01 AM
I would like to know how can I detect "collision" when Object (like CAR) drives on the ground.. You know wheels always touch the ground etc .. First I thought I would just get the hight of the Vertex on which the Wheel is located.. But how would I know where to look for this Vertex info in the array ( 1D or 2D ) ??? I think if I were using 2D ARRAY, I would just use the Wheels (X,Z) values, to specify the location (row, column) in 2D array where Vertex hight for this particular location is stored .. Is this how it is done ???? ( I assume that my ground lies in positive X,Z quadrant ) ...
Is this the way it is done to detect the distance between an Object and the ground ? Or there is more efficient way ???
Also in 3D racing games, I understand that Race Tracks for example are made using 3D programs such as 3Dmax .. So if you LOAD this track ( buildings, road, trees, barriers etc ) into the memory as a whole, how will you know which part of this track data to use for collision, or computing the position of the Car on the Track, ( so when the car goes off the Track, you should hange to off road conditions etc ) ....
Anyone can TRY to explain that to me ? LOL> thx in advance
Is this the way it is done to detect the distance between an Object and the ground ? Or there is more efficient way ???
Also in 3D racing games, I understand that Race Tracks for example are made using 3D programs such as 3Dmax .. So if you LOAD this track ( buildings, road, trees, barriers etc ) into the memory as a whole, how will you know which part of this track data to use for collision, or computing the position of the Car on the Track, ( so when the car goes off the Track, you should hange to off road conditions etc ) ....
Anyone can TRY to explain that to me ? LOL> thx in advance