Skip to content

Api > Plane > SameSide()


Plane.SameSide(Vector3 point0, Vector3 point1)⚓︎

Are two points on the same side of the plane?

Parameters:⚓︎

Name Type Description
point0 Vector3 Point 0
point1 Vector3 Point 1

Returns:⚓︎

type Description
boolean True if two points on the same side of the plane

Usage⚓︎

---@type Plane
local plane;

---@type Vector3
local point0;

---@type Vector3
local point1;


local val0 = plane.SameSide(point0, point1)