Jump to content

p2 collision not working after state change


codermua
 Share

Recommended Posts

ok. I have same problem in there: http://gamedev.stackexchange.com/questions/123954/p2-collision-not-working-after-state-change/124306#124306
I am digging all documentation and examples for solving that problem. But i have nothing really. I can post my own codes if anyone want.

And that example: http://phaser.io/examples/v2/p2-physics/state-reset  Its including same problem. If you run it carefully, you can see first place objects colliding world bounds, but after changing state its not colliding. 

Link to comment
Share on other sites

I've also had this problem in the past, which I couldn't solve: everything works fine at first, but when the game state is reset, nothing works but gravity and everything just goes off the screen. At the time I thought we were doing something wrong code-wise and after a few days with our heads around the code, we eventually gave up from using p2 physics on our project. I wonder if this has a quick fix on our side...

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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