showsPhysics
A Boolean value that indicates whether the view displays physics-related debugging information.
Declaration
var showsPhysics: Bool { get set }Discussion
When this debugging option is enabled, each time a frame is rendered, an overlay image is drawn on top of your scene that shows the positions and shapes of any physics bodies visible in the scene.