Fix concave/convex polygon shape documentation

Removes some outdated/incorrect/duplicated info, adds correct info.
Also removes no longer applicable "editor-only helper" statements.
This commit is contained in:
Ricardo Buring
2023-03-05 16:36:01 +01:00
parent 31eccb5501
commit e61a127042
8 changed files with 42 additions and 29 deletions

View File

@@ -4,7 +4,7 @@
Node that represents collision shape data in 2D space.
</brief_description>
<description>
Editor facility for creating and editing collision shapes in 2D space. Set the [member shape] property to configure the shape. [b]IMPORTANT[/b]: this is an Editor-only helper to create shapes, use [method CollisionObject2D.shape_owner_get_shape] to get the actual shape.
Editor facility for creating and editing collision shapes in 2D space. Set the [member shape] property to configure the shape.
You can use this node to represent all sorts of collision shapes, for example, add this to an [Area2D] to give it a detection shape, or add it to a [PhysicsBody2D] to create a solid object.
</description>
<tutorials>