pixijs / spine

Pixi.js plugin that enables Spine support.
Other
564 stars 217 forks source link

Mask not working correctly; works fine in spine-ts player #428

Open randrade23 opened 2 years ago

randrade23 commented 2 years ago

Hi,

I have a Spine animation that renders correctly in the Spine editor and in the spine-ts player, but when using pixi-spine there is a mask that does not apply correctly - it does not clip some deformed bones.

Expected result:

image

Actual result:

image

I can send the Spine animation via email so that the issue can be checked, let me know who I can send it to please.

Thank you!

Demo

ivanpopelyshev commented 2 years ago

Hi! Please re-post it at https://github.com/pixijs/pixijs/discussions , because currently i dont know who's responsible for the plugin.

Update your pixijs6, i think it was fixed already.

randrade23 commented 2 years ago

Hi Ivan, thank you! I already tried updating to the latest versions of pixi-spine and Pixi v6 but the issue persists. I'll open another issue on the Pixi repo.

randrade23 commented 2 years ago

Just leaving a running example here if anyone has any ideas on this repo: Demo

ivanpopelyshev commented 2 years ago

That's where you can debug this thing and get "geometry.graphicsData[0].something` , bounds, stuff:

image

Its a stencil mask. For more info, please post in pixijs main discussions.