Shape is used to describe a 2D shape, primarily used for the creation of Soft2D objects (colliders, triggers, and bodies).
- Half Width
- Half of the rectangle's width.
- Half Height
- Half of the rectangle's height.
- Radius
- The radius of the circle.
- Horizontal Radius
- The radius of the ellipse in the horizontal direction.
- Vertical Radius
- The radius of the ellipse in the vertical direction.
- Half Rect Length
- Half of the edge length of the rectangle in the center of the capsule.
- Cap Radius
- The cap radius of the capsule.
- Points Position
- The position coordinates of all vertices of the polygon, arranged counterclockwise in the local space (with the center of the polygon as the origin).