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

This commit is contained in:
skyace65 2021-12-29 21:16:56 -05:00
parent 91b97dac03
commit 6b18614de7

View file

@ -20,7 +20,7 @@
</methods> </methods>
<members> <members>
<member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array()"> <member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array()">
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> </member>
</members> </members>
</class> </class>