pixijs/pixi-heaven

proj+heaven bug

jonlepage opened this issue · 7 comments

Hum cool feature but...
heaven projs

this bug seems to happen in this context:

parentContainer: Container2d
childDiffuse: Sprite2d + spriteHeaven
childNormal: Sprite2d + spriteHeaven

edit:
i mean like this
image

nice! ha-ha

Is it caused by your last update in projection? Any solution. ?
I do not remember to see this bug before the last fix.

Honestly, I don't know :)

What do you do exactly in those switches?

Ho OK so after tests in the debugger it seems pluginName the culpable.

If i convert the sprite2D in heaven with.
sprite.convertToHeaven()
the bug appears !

And after, if i try this
sprite.pluginName = 'sprite2d';
the bug disappears, but also heaven color.
So i think heaven it just not compatible with current projections setup ?.

I will try if i can just remove sprite2D nameSpace for childrens and use sprite2d for parent container only

work with just parent container as Sprite2d and i remove child Sprite2d, it fine for me thanks.

just to be shure am clear, here the visual @+
image