Not too long ago I mentioned a nice library that makes performing common tasks with Sprite Kit easier, and I’ve also mentioned a nice set of iOS 7 source code examples including a basic sprite kit example.
Here’s a handy library for working with Sprite Kit physics called PhysicsDebugger from Thomas Zinnbauer.
One of the difficulties in working with Sprite Kit is that it can be difficult to debug physics behavior if you have a number of different objects with  different shapes of physics bodies.  PhysicsDebugger uses swizzling as the phyiscsBody has no accessible property and draws an outline around the real physics body of different objects.
Here’s an image from the readme showing PhysicsDebugger in action:
You can find PhysicsDebugger on Github here, and you can read more about PhysicsDebugger on the YMC website.
A handy library for debugging Sprite Kit physics.
- Tutorial: Create A Character With Ragdoll Physics Using Chipmunk And Cocos2D
- Open Source Library For Easy Box2D Collisions In Cocos2D-iPhone Games (Uses Physics Editor)
- Tutorial: Making A Top Down Shooter In The Corona SDK With Real Physics
- Open Source iOS Sprite Kit Helper Library That Makes Performing Common Behaviors Easier
- Tool: LevelHelper Level Editor With Physics
Original article: iOS Library That Uses Swizzling To Draw Physics Bodies Makes Debugging Sprite Kit Physics Easier
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.