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 39cdd57114
commit 2ebe0e48b9
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>