Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

ShapeType

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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.

Properties

Property Description
Circle A circle with an offset. This is a closed shape. See CircleGeometry.
Capsule A capsule is an extruded circle. This is a closed shape. See CapsuleGeometry.
Segment A line segment. This is an open shape. See SegmentGeometry.
Polygon A convex polygon. This is a closed shape. See PolygonGeometry.
ChainSegment A 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.