Skip to content

class_convexpolygonshape2d

reduz edited this page Feb 23, 2014 · 9 revisions

ConvexPolygonShape2D

####Inherits: Shape2D ####Category: Core

Brief Description

Convex Polygon Shape for 2D physics

Member Functions

Description

Convex Polygon Shape for 2D physics.

Member Function Description

Create the point set from a point cloud. The resulting convex hull will be set as the shape.

Set a list of points in either clockwise or counter clockwise order, forming a convex polygon.

Return a list of points in either clockwise or counter clockwise order, forming a convex polygon.

Clone this wiki locally