- Изменено
Slot changing problem on overriding an animation with Tracks
I am overwriting a shooting animation by playing it in track 1 and playing a running animation in track 0. The problem is that in the running animation I have an R Bicep slot which is changing attachments on every frame. Now when I override the shooting animation on top of it I can see the shooting animation R Bicep attachment as well as the running animation R Bicep attachment. However, In Spine I have keyed the running R Bicep slot attachment to null in the shooting animation frame 0. What I think is that the slot attachment does not get overwritten only the bones STR gets overwritten and if that's not the case can someone explain what's going on here.
Thanks, FK.
Open your Animation.cs
file.
Look for this line: https://github.com/EsotericSoftware/spine-runtimes/blob/master/spine-csharp/src/Animation.cs#L451
and comment it out.
That should fix it.
This is going to change in a future update.
Thanks for a quick reply, Pharan it's working perfectly now!
I just have to say that you guys are doing an amazing work with this. I don't know how big is your team but the amount of work you guys are putting into this is incredible.
Keep up the good work!!