The driver of the physics engine in a scene; it exposes the ability for you to configure and query the physics system.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
SKPhysics runs the physics engine of a scene and is the place that contact detection occurs. Do not create a
SKPhysics directly; the system creates a physics world and adds it to the scene's
The physics world allows you to: