You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After modifying a container's transform, by setting its scale, position, etc., I'm unable to calculate the new world transform immediately after the operation.
Expected Behavior
I'd expect to be able to retrieve the new world transform of the object after modifying its transform.
Steps to Reproduce
const container = app.stage.addChild(new PIXI.Container())
container.scale.set(0.5)
// TODO: Force a recalculation of the container's world transform. How?
console.log(container.worldTransform) // This currently prints a matrix that doesn't contain the scale
Environment
pixi.js version: 8.0.5
Possible Solution
No response
Additional Information
I understand there's performance implications, but in certain situations it is important to be able to do this. I found multiple notions about calling updateTransform, but that doesn't work, and doesn't seem to behave the same in PixiJS v8.
The text was updated successfully, but these errors were encountered:
Current Behavior
After modifying a container's transform, by setting its scale, position, etc., I'm unable to calculate the new world transform immediately after the operation.
Expected Behavior
I'd expect to be able to retrieve the new world transform of the object after modifying its transform.
Steps to Reproduce
const container = app.stage.addChild(new PIXI.Container())
container.scale.set(0.5)
// TODO: Force a recalculation of the container's world transform. How?
console.log(container.worldTransform) // This currently prints a matrix that doesn't contain the scale
Environment
pixi.js
version: 8.0.5Possible Solution
No response
Additional Information
I understand there's performance implications, but in certain situations it is important to be able to do this. I found multiple notions about calling updateTransform, but that doesn't work, and doesn't seem to behave the same in PixiJS v8.
The text was updated successfully, but these errors were encountered: