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 monthly until cancelled

  • Billed yearly until cancelled

Buy Now