Comments and answers for "i want to create a triangle from 2 3d vectors"
http://answers.unity.com/questions/1628415/i-want-to-create-a-triangle-from-2-3d-vectors.html
The latest comments and answers for the question "i want to create a triangle from 2 3d vectors"Answer by myzzie
http://answers.unity.com/answers/1628467/view.html
There is no last vector, what you're looking for is a circle. Then you can define where in that circle you want to put your last point.
Vector3 dir = (B-A).normalized;
float dist = Vector3.Distance(A, B);
Vector3 perp = Vector3.Cross(dir, Vector3.up).normalized;
C = Quaternion.AngleAxis(60, perp) * dir * dist;Sat, 04 May 2019 15:18:22 GMTmyzzieComment by Captain_Pineapple
http://answers.unity.com/comments/1628448/view.html
Well the third vector (lets call it C) in a triangle is always C= A+B
This assumes that the first is A and the second is B.
If you want a triangle with equal long sides then you have to have an angle of 60° between the first 2 vectors or this is not possible. (assuming that you want all sides to be equally long)
If only 2 sides have to be equally long let me know. That is easier done.Sat, 04 May 2019 13:52:31 GMTCaptain_Pineapple