PhysicsSystem
A system that serves as the SKPhysicsContactDelegate
for a scene. It provides two signals: didBeginContact
and didEndContact
, which fire any time there is a physics contact in the scene. These signals can be filtered to obtain only a particular subset of the scene’s contact events.
-
The unique system ID of this system.
Declaration
Swift
public let systemID: Systems = .Physics
-
A struct containing the
PhysicsSystem
’s subscribable signals. See the propertysignals
.Declaration
Swift
public typealias Signals = PhysicsSystemSignals
-
The subscribable signals published by the
PhysicsSystem
. Subscribe to these to receive notifications when contact events occur in the scene.Declaration
Swift
public let signals = Signals()
-
The designated initializer.
Declaration
Swift
override public init()
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented