Vector collision test

Started by
1 comment, last by FireSoul 18 years, 9 months ago
Hi, im trying to make 3d game and i would like to know what the best method is to do this: I want to detect whether or not that my mouse vector intersects an object or not. The mouse vector is formed from two points, one being the camera position, another being a calculated point representing its direction( which is along the line where the user has clicked on the screen). Any help is appreciated, thanks.
Advertisement
I've never tried anything like this, but "picking" is usually recommended for mouse collision in 3D games. I have a link around here somewhere, I'll look for it...

\Edit: Here it is: ToyMaker's picking tutorial
Thanks for that.

This topic is closed to new replies.

Advertisement