Jump to content

setCircle not showing as circle


ptotheaul
 Share

Recommended Posts

I'm using arcade physics to try and set a circle collision.  I'm using:

game.physics.enable(item, Phaser.Physics.ARCADE);
item.body.setCircle(100);

 

but the collision is still based on a rectangle that I can see when debugging.  If i change the value in setCircle the size of the rectangle changes but it's still a rectangle.

Is there something else I need to do to activate the circle?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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