ConvexPolygonShape2D

    Convex polygon shape for 2D physics.

    The main difference between a and a is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection.

    Based on the set of points provided, this creates and assigns the property using the convex hull algorithm. Removing all unneeded points. See Geometry.convex_hull_2d for details.