pixijs / spine

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

change all attachments in one slot during animation #371

Open wnbupt opened 3 years ago

wnbupt commented 3 years ago

Hello, my problem is that my spine model contains two placeholders(fHandR_base, fHandR_up) in one slot(fHandR). During the animation called A, the two placeholders' attachments will switch. I want to change both two attachments' texture during animation A, But the result is that I can only change the attachment which is showing at the moment I change, and the hidden attachment can not be changed.

How to change all attachments in one slot at the same time?

Thanks for reply!

image

ivanpopelyshev commented 3 years ago

Is it even possible with any other spine runtime?

Does the animation work in editor?

wnbupt commented 3 years ago

Is it even possible with any other spine runtime?

Does the animation work in editor?

@ivanpopelyshev Sorry, I only try it with pixi/spine runtime. In spine editor, the animation works well.

ivanpopelyshev commented 3 years ago

ok, if it works in editor, it should also work here. Where did you get pixi-spine (which version is it) ?