1
0
Fork 0

Merge pull request #101107 from Calinou/doc-collisionpolygon2d-fix-warning

Fix warning in CollisionPolygon2D documentation description
This commit is contained in:
Rémi Verschelde 2025-01-06 22:48:57 +01:00
commit 8231494581
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
</brief_description>
<description>
A node that provides a polygon shape to a [CollisionObject2D] parent and allows to edit it. The polygon can be concave or convex. This can give a detection shape to an [Area2D], turn [PhysicsBody2D] into a solid object, or give a hollow shape to a [StaticBody2D].
[b]Warning:[/b] A non-uniformly scaled [CollisionShape2D] will likely not behave as expected. Make sure to keep its scale the same on all axes and adjust its shape resource instead.
[b]Warning:[/b] A non-uniformly scaled [CollisionPolygon2D] will likely not behave as expected. Make sure to keep its scale the same on all axes and adjust its polygon instead.
</description>
<tutorials>
</tutorials>