VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
How 'bout ray-intersecting? Jack Hoxley (2 replies, 0 views) (2000-Sep-21) I've just canned my full 3D game in favour of a 5D engine,...
anyway, one of the possible stumbling blocks was this problem:
If I draw a line from point 1 to point 2 (both 3D) how could I check if they intersected with any triangles in the scene?
Say, in Quake player shoots a weapon - how do they check where if it didn't go through a wall before hitting the target?
I've seen loads'a examples but they're all really computationally complicated; how then does Q3 do it and still hold down a monster frame rate? especially in the middle of a fire-fight?
Jack,
|