Detecting Physics Contacts Between Bodies
In this video tutorial, we’ll add an SKPhysicsContactDelegate to the class, then add a didBegin contact statement to listen out for physics notifications from bodies. This requires setting the categoryBitMask and contactTestBitMask on the player and a hypothetical building object that we add this lesson.
Complete, your training is not. See all tutorials in this section...
- Introduction to Sprite Kit with Swift 3