ConvexPolygonShape2D
Category: Core
Properties
Description
Convex Polygon Shape for 2D physics. A convex polygon, whatever its shape, is internally decomposed into as many convex polygons as needed to ensure all collision checks against it are always done on convex polygons (which are faster to check).
- points
The polygon’s list of vertices. Can be in either clockwise or counterclockwise order.
Method Descriptions
- void set_point_cloud ( PoolVector2Array point_cloud )