ConcavePolygonShape

Inherits: Shape < Resource < Reference < Object

Concave polygon shape.

Description

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

Note: when used for collision, ConcavePolygonShape is intended to work with static PhysicsBody nodes like StaticBody and will not work with KinematicBody or RigidBody with a mode other than Static.

Methods

PackedVector3Array get_faces ( ) const
void set_faces ( PackedVector3Array faces )

Method Descriptions

Returns the faces (an array of triangles).


Sets the faces (an array of triangles).