Jump to content

Graphics Objects and Physics


quarks
 Share

Recommended Posts

Are Phaser.Graphics objects supposed to be physics enabled? I see that they get the PhysicsBody component, but they have no anchor property which causes enabling P2 to fail (haven't tested the others). Is it plausible to subclass or monkey patch to make Graphics physics capable? Or is making the Graphics a child of an empty sprite still the way to go?

 

Thanks.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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