PolygonShape

Polygon is a convex polygon with up to 8 sides.

Create a new polygon shape with love.physics.newPolygonShape or love.physics.newRectangleShape.

Contents

Functions

PolygonShape:getPoints Get the world coordinates of the polygon's vertices.


Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

Shape Object

See Also

Other Languages

Personal tools