Add warning to only use convex hull points when setting the point property for convex polygon shape

(cherry picked from commit 6b18614de7)
This commit is contained in:
skyace65 2021-12-29 21:16:56 -05:00 committed by Rémi Verschelde
parent e3292633be
commit 098a8dab0d
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -20,7 +20,7 @@
</methods>
<members>
<member name="points" type="PoolVector2Array" setter="set_points" getter="get_points" default="PoolVector2Array( )">
The polygon's list of vertices. Can be in either clockwise or counterclockwise order.
The polygon's list of vertices. Can be in either clockwise or counterclockwise order. Only set this property with convex hull points, use [method set_point_cloud] to generate a convex hull shape from concave shape points.
</member>
</members>
<constants>