Jump to content

Help me with pixi 3.0.11 bounds problem


trsh
 Share

Recommended Posts

Just now, ivan.popelyshev said:

Changes in bounds were really big. In this case, you have to update whole stage and not just "sp", otherwise it wont work: "stage.updateTransform()" . v4 knows that it has to update all parents of "sp" before it gets bounds, and updateTransform() isnt required there.

But that gives me: "VM69 pixi.min.js:3 Uncaught TypeError: Cannot read property 'worldTransform' of null". I cant update transform for stage :((

Link to comment
Share on other sites

51 minutes ago, ivan.popelyshev said:

Changes in bounds were really big. In this case, you have to update whole stage and not just "sp", otherwise it wont work: "stage.updateTransform()" . v4 knows that it has to update all parents of "sp" before it gets bounds, and updateTransform() isnt required there.

I think there some another problem, that's Container related

Link to comment
Share on other sites

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