Math.edge

From GiderosMobile
Revision as of 10:34, 26 August 2020 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2020.9<br/> '''<translate>Class</translate>:''' math<br/> === <transl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2020.9
Class: math

Description

Returns the nearest point on the edge of a given shape.

(table) = math.edge(point,shape)

Parameters

point: (table) The point to test
shape: (table) The shape to test against (see math.raycast)

Return values

Returns (table) The nearest point on the given shape