skaplun Posted May 6, 2015 Share Posted May 6, 2015 hey guys,Hoping I could get some help from you I'm creating a bumper objects prototype game for mobile with Phaser using P2 physics and I have two challenges: 1) I want to be able to detect on which side an object is hit. So that if an object is hit from the side or back it explodes, and if its hit from the front nothing happens. How would I approach this? 2) I want the object to follow the direction / speed of the swipe. How would I do this? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts