Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsShape.ShapeType

The type of shape. Some shapes are "closed" meaning they have an interior which will produce contacts. Some shapes are "open" meaning they do not have an interior and will only produce contacts when their boundary is intersected.
Read time 1 minuteLast updated 10 days ago

Definition

public enum PhysicsShape.ShapeType

Fields

Value

Description

CapsuleA capsule is an extruded circle. This is a closed shape. See CapsuleGeometry.
ChainSegmentA Chain of line segments that are joined together with other line segments. This is an open shape. This is indirectly created and owned by a chain. See ChainSegmentGeometry and ChainGeometry.
CircleA circle with an offset. This is a closed shape. See CircleGeometry.
PolygonA convex polygon. This is a closed shape. See PolygonGeometry.
SegmentA line segment. This is an open shape. See SegmentGeometry.