   Co.llision detection
  How do I do collison detection between objects in Dierct3D and DirectX?   THX,JAP 
  You''ll have to be more specific.  Is it 2D or 3D collision detection?  What type of game or program is it?  What type of objects are colliding? ;  DirectX (D3D being a subset of DirectX) has nothing to do with collision detection.  D3D is simply for drawing stuff to the screen.  It''s up to your engine to keep track of objects, where they are, etc.--and thus, also whether or not they''re colliding.As for how to do collision detection, there are a bunch of different ways; it depends on what you need.  Most commonly, people will use bounding spheres or boxes to simplify the math.-Odd the Hermit ;  I want to make a very very simple stripped down 3d first person shooer, but I have no idea where to start with any collision detection, like collision with any terrain or floor and collision between bullets and targets. All I can do right now is draw textured polygons to the screen, like models and bitamps. I can make a simple room for the purposes of learning the collision detection, but I need to know how to do any of it.    THX,JAP ;  oh dear... if like maths and linear algebra, check out ftp://ftp.fluidstudios.com/pub/FluidStudios/CollisionDetection/Fluid_Studios_Generic_Collision_Detection_for_Games_Using_Ellipsoids.pdfthat''s suited to a first person shouter. There is even a DirectX source code for it, and it works. http://www.melax.com/bsp/melaxbsp.pdfa paper on how they did collision detection in MDK2.if you want to cut down the crap, check out the opcode collision library, also www.magic-software.com, ODE at www.opende.sourceforge.net.but be warned. If you just know DirectX, and never done any maths involving BSP trees, phsyics, collisions before, it will be very difficult. 