   Point on a 3D line at a specific Z coordinate
  Hey guys, I have a 3D line defined by two points. I need some way to find the X and Y coordinates of the line at a specific Z coordinate. I am pretty sure this isnt very hard I am just being retarted and need a few pointers. Any ideas?   
  If your two points are (x0, y0, z0) and (x1, y1, z1), and you want to find (x, y, z) for a given z, then you simply do:x = x0 + (x1 - x0) * (z - z0) / (z1 - z0)y = y0 + (y1 - y0) * (z - z0) / (z1 - z0)It works since (z - z0) / (z1 - z0) is the relative distance from z0 to z compared to the distance from z0 to z1.So for x, you start at x0 and add the distance to x1 multiplied by how large percentage of that distance you need to move to reach z.   ;  Thanks works great.   