Concave polygon shape.
    public class ConcavePolygonShape : Shape

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

Inheritance Chain

Constructors

    public ConcavePolygonShape()

Properties

    public Vector3[] Data { get; set; }

Methods

    public Vector3[] GetFaces()

Return the faces (an array of triangles).

    public void SetFaces(Vector3[] faces)

Set the faces (an array of triangles).

Tags: