Camera Pick?
Posted: Sun Jul 27, 2008 5:25 pm
I'm moving from BlitzMax and MiniB3d...
There was a function called CameraPick that returned the 3D pos of the collision between the mouse and a object.
I'm not sure I'm explaining this good.
So imagine you have a plane and you go with the mouse on it. I need to get the 3d coords of the mouse on the plane. or you could thing of selecting a 3D soldier in a 3d RTS. (that's what I'm trying to do).
How can I do that in Irrlicht? (I searched but didn't find anything good)
There was a function called CameraPick that returned the 3D pos of the collision between the mouse and a object.
I'm not sure I'm explaining this good.
So imagine you have a plane and you go with the mouse on it. I need to get the 3d coords of the mouse on the plane. or you could thing of selecting a 3D soldier in a 3d RTS. (that's what I'm trying to do).
How can I do that in Irrlicht? (I searched but didn't find anything good)