Jump to content

P2 Physics - Detecting Collisions and Non-Collisions


Tipsheda
 Share

Recommended Posts

So, I'm working on implementing wall jumping in my game with P2 physics and in order to do that, I need to be able to set a boolean to true if a collider (sensor in my case) is colliding with any object and false if it is not.  I cannot figure out how to do the latter because I'm not seeing anything that is called when an object uncollides with objects.  Anyone know of a solution?  Thanks!

 

Edit: I'm thinking of also implementing the Box2D physics system because that has implementation for colliding and uncolliding.

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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