   ID3DX10Mesh intersection location
  Hello everyone,As the title says, how can i find out the location where the mesh have been intersected? ID3DX10Mesh::Intersect ( ) method gives me UV coords and the triangle index, how can i extract the location from this info? (world or local space location doesnt matter)thanks in advance-Hassan   
  EDIT: Have you read the documentation for ID3DX10Mesh::Intersect? It tells you exactly how to do this.   ;  Those UV coords are barycentric coordinates.You can get the 3 vertices of the face that was hit using the face index, indexbuffer and vertexbuffer.Given the 3 vertices, v1, v2 and v3, the hit position is u*v2 + v*v3 + (1-u-v)*v1. That's in mesh space.EDIT: changed subscripts to match the docs.   ;  i didnt see the remarks last time i read it, my badthanks for the replies   