:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.5/doc/classes/ConcavePolygonShape.xml. .. _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. Tutorials --------- - `3D Physics Tests Demo `__ Methods ------- +-------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PoolVector3Array` | :ref:`get_faces` **(** **)** |const| | +-------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_faces` **(** :ref:`PoolVector3Array` faces **)** | +-------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ Method Descriptions ------------------- .. _class_ConcavePolygonShape_method_get_faces: - :ref:`PoolVector3Array` **get_faces** **(** **)** |const| Returns the faces (an array of triangles). ---- .. _class_ConcavePolygonShape_method_set_faces: - void **set_faces** **(** :ref:`PoolVector3Array` faces **)** Sets the faces (an array of triangles). .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`