3D Mouse Implementation
Posted on April 15, 2007 at 4:36 PM
Alright. This example shows how your can find 3D coordinates depending on where the camera is pointed to. It basically "shoots a ray" as far as it can go without hitting anything. After that is done, the coordinates of the endpoint is where in 3D you are looking. I have included both the example, and a quick use of it where you click to move (in 3D). I can think of many uses of this, and I'm sure you can too.
Comments are currently disabled on games.