Inherits: Shape<class_shape>
< Resource<class_resource>
< Reference<class_reference>
< Object<class_object>
Category: Core
Concave polygon shape.
PoolVector3Array<class_poolvector3array> |
get_faces<class_ConcavePolygonShape_get_faces> ( ) const |
void | set_faces<class_ConcavePolygonShape_set_faces> ( PoolVector3Array<class_poolvector3array> faces ) |
Concave polygon shape resource, which can be set into a PhysicsBody<class_physicsbody>
or area. This shape is created by feeding a list of triangles.
PoolVector3Array<class_poolvector3array>
get_faces ( ) const
Return the faces (an array of triangles).
- void set_faces (
PoolVector3Array<class_poolvector3array>
faces )
Set the faces (an array of triangles).