:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the ConcavePolygonShape.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_ConcavePolygonShape: ConcavePolygonShape =================== **Inherits:** :ref:`Shape` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` Concave polygon shape. Description ----------- Concave polygon shape resource, which can be set into a :ref:`PhysicsBody` or area. This shape is created by feeding a list of triangles. Note: when used for collision, ``ConcavePolygonShape`` is intended to work with static :ref:`PhysicsBody` nodes like :ref:`StaticBody` and will not work with :ref:`KinematicBody` or :ref:`RigidBody` with a mode other than Static. Methods ------- +-----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedVector3Array` | :ref:`get_faces` **(** **)** const | +-----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_faces` **(** :ref:`PackedVector3Array` faces **)** | +-----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ Method Descriptions ------------------- .. _class_ConcavePolygonShape_method_get_faces: - :ref:`PackedVector3Array` **get_faces** **(** **)** const Returns the faces (an array of triangles). ---- .. _class_ConcavePolygonShape_method_set_faces: - void **set_faces** **(** :ref:`PackedVector3Array` faces **)** Sets the faces (an array of triangles).