Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.97 KB

class_concavepolygonshape.rst

File metadata and controls

48 lines (29 loc) · 1.97 KB

ConcavePolygonShape

Inherits: Shape<class_shape> < Resource<class_resource> < Reference<class_reference> < Object<class_object>

Category: Core

Brief Description

Concave polygon shape.

Member Functions

PoolVector3Array<class_poolvector3array> get_faces<class_ConcavePolygonShape_get_faces> ( ) const
void set_faces<class_ConcavePolygonShape_set_faces> ( PoolVector3Array<class_poolvector3array> faces )

Description

Concave polygon shape resource, which can be set into a PhysicsBody<class_physicsbody> or area. This shape is created by feeding a list of triangles.

Member Function Description

  • PoolVector3Array<class_poolvector3array> get_faces ( ) const

Return the faces (an array of triangles).

  • void set_faces ( PoolVector3Array<class_poolvector3array> faces )

Set the faces (an array of triangles).