Hey People! New to this forum... I want to know if anyone here knows how to know when for example your mouse if over a particula mesh on the screen... I know how to use Mesh.Intersect to find out if a ray intersect a mesh and at what distace but I really want to know if my mouse if pointing to an object in the a 3D scene. I suppose I could figure out a way to put a ray where the camera is and point it in the direction the camera is pointing with an offset of where the mouse is. It will have to do with the projectiong matrix also.. But I was tryiing to find an easyer way of doing it... Maybe there is a function that is simular to Mesh.Intersect but tells if a point on the screen intersect or touches a mesh...
haha I really hope you guys understood that!
This is a cool forume and I am glad to know people are having simular problems to mine!!
PLEASE ANSWER if you know a way I could do this!
Thanks ALOT PEOPLE!
PhikweG
haha I really hope you guys understood that!
This is a cool forume and I am glad to know people are having simular problems to mine!!
PLEASE ANSWER if you know a way I could do this!
Thanks ALOT PEOPLE!
PhikweG