|
@@ -4,7 +4,7 @@
|
|
|
A node that provides a polygon shape to a [CollisionObject2D] parent.
|
|
A node that provides a polygon shape to a [CollisionObject2D] parent.
|
|
|
</brief_description>
|
|
</brief_description>
|
|
|
<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].
|
|
|
|
|
|
|
+ A node that provides a polygon shape to a [CollisionObject2D] parent and allows it to be edited. The polygon can be concave or convex. This can give a detection shape to an [Area2D], turn a [PhysicsBody2D] into a solid object, or give a hollow shape to a [StaticBody2D].
|
|
|
[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.
|
|
[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>
|
|
</description>
|
|
|
<tutorials>
|
|
<tutorials>
|