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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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