summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-12-31 17:50:10 +0100
committerGitHub <noreply@github.com>2021-12-31 17:50:10 +0100
commit54132ba7888b5f0c36fba2cf1451d637c8e4de94 (patch)
tree35a681f19cead37b45511631a0c2daccd4699b9d
parent91b97dac03996c4b8791633ea6fa8fdc47852cb6 (diff)
parent6b18614de7b4b5a67bbf6b357343bfdece7c3efb (diff)
Merge pull request #56334 from skyace65/ConvexWarning
Add warning to only use convex hull points when setting the point property of convex polygon 2D
-rw-r--r--doc/classes/ConvexPolygonShape2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/ConvexPolygonShape2D.xml b/doc/classes/ConvexPolygonShape2D.xml
index ec7583e68b..62f8f00a82 100644
--- a/doc/classes/ConvexPolygonShape2D.xml
+++ b/doc/classes/ConvexPolygonShape2D.xml
@@ -20,7 +20,7 @@
</methods>
<members>
<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>
</members>
</class>