W3cubDocs

/Godot 3.1

ConcavePolygonShape

Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Concave polygon shape.

Methods

PoolVector3Array get_faces ( ) const
void set_faces ( PoolVector3Array faces )

Description

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

Method Descriptions

PoolVector3Array get_faces ( ) const

Returns the faces (an array of triangles).

void set_faces ( PoolVector3Array faces )

Set the faces (an array of triangles).

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_concavepolygonshape.html