Thursday Discount - Lifetime Access for $20!!!! - Click Here!

Role Playing Games Tutorial with Sprite Kit and Swift 3 - Part 7

Testing Physics Contacts Between NPCs and the Player

Role Playing Games Tutorial with Swift and Sprite Kit - Physics Contacts with the NPC

In this Swift 3 / Sprite Kit video tutorial we’ll add a physics body (at runtime) to our NPC’s, and detect contacts between the player and them. The Non-Player Characters will stop walking when a contacted and resume when an end contact is detected, using the didEnd(_ contact: SKPhysicsContact) code.

Can’t see the video? Subscribe!…

  • Billed once per month until cancelled

  • Billed once per year, 2 times

Buy Now

Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!