Introduction to Sprite Kit with Swift 3 – Part 7

Detecting Physics Contacts Between Bodies

Introduction to Sprite Kit with Swift 3 video tutorials 7

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.




Become part of the CartoonSmart Team with our Affiliate Program

Make recurring money when you refer a subscriber. 30 day tracking. Commissions 33%-50%!


Uh oh, missing your affiliate ID. Create one real quick