Forum rules - please read before posting.

A way to clear animation track index?

Hi there, forgive me if this is a stupid question since I'm completely new to AC and relatively inexperienced in unity as well.

For context, I'm using spine animation integration with AC for my sprites. When playing an animation, I set whole body animations to be on index 0. I'm using a spine script to automate blinking animation, which is set to index 1. The custom expression animations are then played on index 2 so it overrides the blinking animation (otherwise it would just be overridden each time the blinking animation occurs).

The problem is when I try to reset the custom expressions back to default blinking animation. It seems that reset to idle only controls one track index that is index 0 and not ones beyond it. So I'm wondering if there's a way to clear the animation that's present in index 2 so the character can resume blinking?

Thanks in advance!

Comments

  • Welcome to the community, @Tooa.

    The "Reset To Idle" command only deals with the base layer, as it forces the playback of the idle animation which is always on index 0.

    When did you download the Spine integration from the wiki? I updated it recently with the ability to use the "Stop Custom" command - previously, choosing this results in a "This is not available" message in the Action's UI.

    Try downloading the updated AnimEngine_Spine and DirectionMapper scripts and see if that helps - the Character: Animate Action's Stop Custom command allows you to specify the track index.

    For reference, the changes were made as a result of this thread.

  • Oh nice, I didn't realize the script has been updated recently. The new script is exactly what I was looking for and it works without a hitch. Thank you!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.