ConcavePolygonShape

Inherits: Shape < Resource < Reference < Object Concave polygon shape.

Description

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.

Tutorials

  • 3D Physics Tests Demo

    Methods

    Method Descriptions

  • PoolVector3Array get_faces ( ) const Returns the faces (an array of triangles).

  • set_faces ( PoolVector3Array faces ) Sets the faces (an array of triangles).