Jump to content

Question on P2 Physics Collisions


Recommended Posts

I recently viewed an example in which you can load a polygon onto a sprite with P2 physics. The link to the tutorial is found here: http://examples.phaser.io/_site/view_full.html?d=p2%20physics&f=load+polygon+3.js&t=load%20polygon%203


My question is, by using the "body.addPolygon()" method on a sprite, is it possible to create multiple polygons, or any shape, collision areas and have them register collisions separately like a fighting game in which consists of characters with multiple hit boxes? 




Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...