nicmar

Hi,
We have a pretty complex setup, which is based on the Gunman asset, which we then have added up/down animations too.
The problem we currently have happens on the Side view though, but I also included the down view to show the same issue.

You can see here, when we have no tracks enabled, it seems to show the default "Setup view", which has the hand bent a little backwards, and I guess that's ok and shouldn't influence other animations. Here's the track setup:

0: Side > Idle
1: Side > Setup_melee1 (Contains the keyframe for the weapon)
2: Side > Fire_melee1a (Contains only the arm animating)

When i toggle track 2, by right clicking it in the preview window, for the duration when it's being reset back into the Setup_melee1 animation, the hand twists just like in "Setup view", and then in the end it's correct.

The same thing happens in the down view, but in this view, you can see the head and shirt being wrong for a brief moment. The hand happen to be correct, as it's the correct attachment for the down view.

Why is this happening? Are there keyframes that shouldn't be there, or are keyframes missing in any of the animations?

Here's my video of what it looks like. It might be hard to see, but I click track 2 on and off to show it during the attack animation.

Using Spine to make SpaceChef - The Taste of Trouble. A humoristic open world space western, featuring a chef with nothing to loose, after he loses everything.. ;) Follow our work on Twitter @BlueGooGames.
アバター
nicmar
  • 記事: 38

Erika

This looks like an issue of mixing from one track to another. If you set the mix to 0 you shouldn't see this problem. You can change mix duration for specific animations at runtime. What runtime are you using? This can likely be fixed at runtime, but Harri or Mario would definitely be able to give a better answer on this matter.
アバター
Erika

Erikari
  • 記事: 2282

Nate

It's hard to tell what's going on, since I'm not familiar with your assets. Would it be possible for you to send the project file and images so we can check it? contact@esotericsoftware.com
アバター
Nate

Nate
  • 記事: 9452

nicmar

Thanks for replying! I'm using Unity, and I can set the mix in the preview window too, but that would make the weapon "jerk" back into the setup position on one frame, instead of sliding back, as I expect it too, it's just weird that it doesn't keep the correct attachment for the hand, as both the setup_melee1 and fire_melee1 has the same attachment of the hand.

EDIT: I deleted the attachment of the hand in the fire_melee1 animation, and this fixed the issue. As the animation on track 1 has the correct attachment, the fire shouldn't need to have it also.

So thanks for your help :)

---

Thanks, i wrote this before Nate replied, but in case something weird happens again, i can surely send the file. Thanks for the offer and have a nice day :)
Using Spine to make SpaceChef - The Taste of Trouble. A humoristic open world space western, featuring a chef with nothing to loose, after he loses everything.. ;) Follow our work on Twitter @BlueGooGames.
アバター
nicmar
  • 記事: 38


Return to Editor