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

 Share

  • Recently Browsing   0 members

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