-
Notifications
You must be signed in to change notification settings - Fork 0
class_convexpolygonshape2d
reduz edited this page Feb 23, 2014
·
9 revisions
Inherits: shape2d\ Category: Core\
Convex Polygon Shape for 2D physics
- void #set_point_cloud( Vector2Array point_cloud )
- void #set_points( Vector2Array points )
- Vector2Array #get_points(****) const
Convex Polygon Shape for 2D physics.
== set_point_cloud ==
- void #set_point_cloud( Vector2Array point_cloud ) \ Create the point set from a point cloud. The resulting convex hull will be set as the shape. == set_points ==
- void #set_points( Vector2Array points ) \ Set a list of points in either clockwise or counter clockwise order, forming a convex polygon. == get_points ==
- Vector2Array #get_points(****) const \ Return a list of points in either clockwise or counter clockwise order, forming a convex polygon.