Version: 2023.2

PhysicsShapeType2D

enumeration

切换到手册

描述

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

Additional resources: PhysicsShape2D.shapeType.

变量

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.