Original Post
Hi folks! I have some issues testing intersection between two meshes on triangle level. That's what I do: Vector3[] rays = Vector3.TransformCoordinate(Vector3.TransformCoordinate(node.GetIntersectionRays(ref device), node.combinedTransform), Matrix.Invert(this.combinedTransform)); IntersectInformation info; for (int i = 0; i < rays.Length - 1; i++) { if (this.nodeMesh.Intersect(rays, rays[i + 1] - rays, out info)) { if (info.Dist < Vector3.Length(rays[i + 1] - rays)) { m_bCollision = true; node.m_bCollision = true; return; } } } I thought to have done everything properly... I apply the Mesh's combined transform to the (untransformed) vertices and then the inverse transform of the Mesh I call Mesh.Intersect(...) on. Still, I get Intersections when there can't be any. Can someone have a look at the code and tell me, if I erred somewhere? Thanks, Martin