Jump to content

Explaination about different physics systems


projectgoo
 Share

Recommended Posts

Hi,

I have one thing that I can't figure out, when I set the Arcade physics system and call enemy.destroy(); everything works great.
But when I change the physics system to P2 it throws exception Cannot set property 'body' of null.

Am I doing somthing wrong ? Is there some tutorial how to combine physics system ?

Thanks for the help  :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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