   Can't think of a propper title ---
  Sup guys,How can you tell if for example when you click with the mouse if you clicked any object on the screen(like a box)?Thanks.   
  The technique is called "picking", there's an example in the SDK called "Pick" that you can look at.  There's also been several threads on the topic in this forum and elsewhere, so if you search for "picking" you should find some useful info.   ;  Then what about if 2 objects hit each other? How will I be able to tell that?Thanks.   ;  That's called "collision detection" and there are many methods for that.Because of the profusion of methods, you may want to search this site and Google.A brief description of just a couple of methods:- pick a radius for a sphere that surrounds most or all on an object and see if the "spheres" for two objects overlap.- create a box that contains most or all of an object and see if two boxes overlap.;  I tried but I found nothing, could you please point me to a good tutorial?Thanks.   ;Quote:I tried but I found nothingTry again. I googled for "collision detection directx tutorial" and got 118,000 hits!;  It's worth noting that collision detection has absolutely nothing to do with DirectX. DirectX doesn't do collision detection, and you shouldn't be using the same vertex data for your render model and collision model.Any collision detection tutorial will do. And that gives 885,000 hits on Google [smile]   ;  I had a look but I keep finding nothing that can help :( Could you please point me to one?Thank you.   ;  Hey OK, I feel sorry for someone now, and I shall now point you in the right direction.Are you familiar with www.gamedev.net ? Go to Resources > Articles and Resources Scroll down that page until you come across a header title of Game Programming under Game Programming there will be many links one which is entitled "collision detection"click on that link or just copy and paste this to your browser and hit go http://www.gamedev.net/reference/list.asp?categoryid=45#199Now start reading, start coding Have FUN!!!!;  Wow, didn't know this site had a resource area before :) Thanks. But man these collision detection things are so complicated, there's not even a single function that does any of it for you(in D3D), you'd think that Microsoft would've added one! Just out of interest does Direct3D10 have a built in collision detector?Thanks again.   