The documentation for ConcavePolygonShape2D says that it's better to use it instead of PolygonCollider2D when dealing with static colliders. When I use a ConcavePolygonShape2D in a ShapeCollider2D though, I get a warning (in the scene tree) saying to not use polygons with a shape collider and to instead use a PolygonCollider2D. Unless I'm misunderstanding something, these two sources seem to be stating the exact opposites of each other, so I'm wondering which one I should listen to.
Conflicting information on *PolygonShape2D colliders.
Subtile The warning in the editor only says that ConcavePolygonShape2D is not directly editable via gui. So it doesn't contradict what's stated in the docs.
Plastometer it says polygon shapes are not meant to be used or edited through collisoinshape2d. If all it really means is that it's harder to edit, it really could have been worded better. Oh well, thank you
Subtile Yeah, definitely room for improvement there 🙂
© 2022 - 2024 — McMap. All rights reserved.