Jump to content

P2 Physic Collisions with Land


Darkenvy
 Share

Recommended Posts

UPDATE: I changed to arcade physics. Solved my problems

 

Hey guys, first post here woo!

Anyways I am having the most difficult time trying to figure out how to cause a P2 collision event on objects that themselves are static. Following the examples on Phasers site, I was able to accidentally turn all my land pieces (tiles) into gravity-applying blocks that I could interact with. However this was not the desired outcome.

Another example on P2 physics (tilemap gravity.js) loaded everything from a json file which then used convertTilemap() method to give it physics.

Help!

Thanks again for reading,

Darkenvy

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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