PhysicsShape

public enum PhysicsShape
extension SKTile.PhysicsShape: CustomStringConvertible, CustomDebugStringConvertible

Overview:

Describes the tile’s physics shape.

Properties

Property Description
none No physics shape.
rectangle Rectangular object shape.
ellipse Circular object shape.
texture Texture-based shape.
path Open path.

Deprecated