Jump to content

Have a group with children not collide with itself?


Recommended Posts

For example, take this:

bullets = game.add.group();			bullets.enableBody = true;			bullets.physicsBodyType = Phaser.Physics.P2JS;			bullets.createMultiple(125, 'bullet');

So, 125 sprites will be generated. Now, these 125 sprites will collide with themselves in the world.


I am curious if it's possible to set them to not collide with themselves only, but still be able to collide with other objects in the world?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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