Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Concave polygon shape.

Member Functions

Vector3Array get_faces ( ) const
void set_faces ( Vector3Array faces )


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

Member Function Description

Return the faces (an array of triangles).

Set the faces (an array of triangles).