Plane.Set3Points(Vector3 a, Vector3 b, Vector3 c)
Sets a plane using three points that lie within it. The points go around clockwise as you look down on the top surface of the plane.
Parameters:
Name | Type | Description |
---|---|---|
a | Vector3 | First point in clockwise order. |
b | Vector3 | Second point in clockwise order. |
c | Vector3 | Third point in clockwise order. |
Usage
---@type Plane
local plane;
---@type Vector3
local a;
---@type Vector3
local b;
---@type Vector3
local c;
plane.Set3Points(a, b, c)