Jump to content

Creating Circular Collision Bounds with P2 physics?


triquil
 Share

Recommended Posts

Hi,

I'm super new to phaser and have been trying to make a bounded circular play area with P2 physics, but I've found myself stuck and confused.

I found this example for a bounded rectangle play area, but am confused about how I would go about changing to a circle. 

https://phaser.io/examples/v2/p2-physics/collide-custom-bounds

If someone could help me in the right direction I'd really appreciate it!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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