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).