ConcavePolygonShape
Inherits: Shape < Resource < Reference < Object
Category: Core
Brief Description
Concave polygon shape.
Member Functions
Vector3Array | get_faces ( ) const |
void | set_faces ( Vector3Array 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
Vector3Array get_faces ( ) const
Return the faces (an array of triangles).
void set_faces ( Vector3Array faces )
Set the faces (an array of triangles).
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_concavepolygonshape.html