photonstorm/phaser-examples — pull request #40 by zefman (2014-05-19 12:17:42+00:00)
Title: Added p2 kinematic body example

I have noticed a number of posts on the forum regarding moving p2 bodies and how to make them unaffected by collisions but not static, so here is an example of how to use kinematic.

(Some people were suggesting setting the mass of the moving object very high in comparison to the objects it collides with. This works but is a little hacky and using kinematic is much cleaner)