From f5409dc132ae81c2819f30882a88fd3205fc046f Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Wed, 10 Jan 2024 11:14:57 +0800 Subject: [PATCH] Mention CollisionPolygon2D.polygon is local to the given CollisionPolygon2D --- doc/classes/CollisionPolygon2D.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/CollisionPolygon2D.xml b/doc/classes/CollisionPolygon2D.xml index d6f3b7cb5dcac..acb3f66c17f05 100644 --- a/doc/classes/CollisionPolygon2D.xml +++ b/doc/classes/CollisionPolygon2D.xml @@ -25,6 +25,7 @@ The polygon's list of vertices. Each point will be connected to the next, and the final point will be connected to the first. + [b]Note:[/b] The returned vertices are in the local coordinate space of the given [CollisionPolygon2D]. [b]Warning:[/b] The returned value is a clone of the [PackedVector2Array], not a reference.