pixijs / pixi-projection

MIT License
191 stars 34 forks source link

fix worldTransform from getLocalPosition #58

Closed jonlepage closed 4 years ago

jonlepage commented 5 years ago

Let fix this annoying bug. :)

see : https://www.pixiplayground.com/#/edit/WmmaczN22ZydRizFuz1~z line: 162

and step inside displayObject.worldTransform.applyInverse. In the demo when mouse is out the bounds, you should see red coord in the mouse. Also coor are not ok if you move camera.

jonlepage commented 5 years ago

ok sorry , need more investigate, bug seem affect only projection.Sprite3d but work fine with with projection.Container3d. !