YSH122331
(JustYSH)
#1
Hello developers!
i’m making some Polygon Triangulation system
but i don’t know what is best way to make angle go into right angle
I want it to go in the right direction. I don’t want it to go out or change course.

i’m stuck with this issue for a days 
Thank you, who can help me
2 Likes
YSH122331
(JustYSH)
#2
never mind i fix it
self.PleaseWork=function(A: BasePart, B: BasePart, C: BasePart): ()
local BA = A.Position - B.Position;
local CA = C.Position - B.Position;
return (BA:Cross(CA).magnitude/2);
end;
by just using this function
local a1,a2,a3 = GetAreaOfTriangle(A, B, v), GetAreaOfTriangle(A, C, v), GetAreaOfTriangle(B, C, v)
if a1 + a2 + a3 == GetAreaOfTriangle(A, B, C) then
contained = true
end
system
(system)
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.