Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PhysicsShapeType2D

enumeration

Description

Options for indicate which primitive shape type is used to interpret geometry contained within a PhysicsShape2D object.

Additional resources: PhysicsShape2D.shapeType.

Properties

CircleUse a circle shape to interpret the PhysicsShape2D geometry.
CapsuleUse a capsule shape to interpret the PhysicsShape2D geometry.
PolygonUse a convex polygon shape to interpret the PhysicsShape2D geometry.
EdgesUse multiple edges to interpret the PhysicsShape2D geometry.