Question by
lukaskrepel · May 12, 2020 at 03:01 PM ·
c#transformtransform.positionpositioningtriangle
Calculate a point in space based on a triangle
So I've got 4 Transforms. (Dots in the image).
I need to set the position of the green dot, based on the position of the 3 black dots... It should basically be twice as far from the other side of the triangle as the top right black dot.
I have no clue how to calculate this. Any help would be appreciated!
(The positions are all vector3's of course, but I don't need the z axis, because it's for a 2D project)
screenshot-2020-05-12-at-164850.png
(98.6 kB)
Comment