Jump to content

p2 collision not working after state change


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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