Creates an edge loop from a rectangle.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
The rectangle that defines the edges. The rectangle is specified relative to the owning node’s origin.
A new edge-based physics body.
An edge has no volume or mass and is always treated as if the
dynamic property is equal to
NO. Edges may only collide with volume-based physics bodies.