W3cubDocs

/Godot 3.0

ConcavePolygonShape

Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Concave polygon shape.

Member Functions

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.

Member Function Description

PoolVector3Array get_faces ( ) const

Return the faces (an array of triangles).

void set_faces ( PoolVector3Array faces )

Set the faces (an array of triangles).

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