The_dude8080 Posted October 12, 2016 Share Posted October 12, 2016 If I have a custom-player-made drawn image in phaser and I want to make a phyisics body out of it should I use Box2d to set its P2 phyisics body? Link to comment Share on other sites More sharing options...
piotr Posted October 12, 2016 Share Posted October 12, 2016 I'm not sure I understand your question, but to enable P2 physics body on a sprite you should use: game.physics.p2.enable(spriteName); See example here: http://phaser.io/examples/v2/p2-physics/body-debug Link to comment Share on other sites More sharing options...
Recommended Posts