Jump to content

Anchor and physics in Phaser 2


bowerandy
 Share

Recommended Posts

Hi,

 

Has anything changed with anchor points in Phaser 2. Without physics enabled the anchor points appear to work as expected (except that the default seems to be a centre anchor rather than 0,0 as it was before).

 

However, when I set physicsEnabled=true (using the default engine which I believe is P2) then I can't seem to shift the anchor point, either before or after enabling the physics. It always appears to be fixed at 0.5, 0.5. Is this to be expected?

 

Best regards

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
 Share

  • Recently Browsing   0 members

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