ClosestPointOnPlane
7/14/25Less than 1 minute
Plane.ClosestPointOnPlane(Vector3 point)
For a given point returns the closest point on the plane.
Parameters:
| Name | Type | Description |
|---|---|---|
| point | Vector3 | The point to project onto the plane. |
Returns:
| type | Description |
|---|---|
| Vector3 | A point on the plane that is closest to point. |
Usage
---@type Plane
local plane;
---@type Vector3
local point;
local val0 = plane.ClosestPointOnPlane(point)
