Originally Posted by

**ILoveTriangles** So I'm attempting to find **the (?)** center of a right triangle in 3d, I've done it before but it's been awhile.

I have three points, p1, p2, p3, all with (x,y,z)

p1 is the top right point. We can give it the points (x,y,z)

p2 will be the bottom right point. We can give it the points (x, y-1, z2)

p3 will be the bottom left point. We can give it the points (x-1, y-1, z3)

The Z coordinates are on the same plane, but can be any integer.

The side lengths are not 1 (because of the angle between z's)

p2 is where the right angle is.

To be honest, If you can solve this for just the (x,y) of the center I'll find the z coordinate. So basically you could just throw the z's out if you want.

Thanks for any help!