GetColPolygonPoints

From Multi Theft Auto: Wiki
Revision as of 23:24, 21 July 2020 by Lettify (talk | contribs) (Returns a table, not a bool)
Jump to navigation Jump to search

This function is used to get all bound points in a colshape polygon.

Syntax

table getColPolygonPoints ( colshape shape )  

OOP Syntax Help! I don't understand this!

Method: colshape:getPoints(...)


Required Arguments

  • shape: The colshape polygon you wish to get the points of.

Returns

Returns a table of Vector2 coordinates, each coordinate being a position of a bound point, false if invalid arguments were passed.

Example

TODO

See Also