Forum rules - please read before posting.

Skeletal Animation

Hello! I'm new to AC and Unity, so please forgive me if this is a dumb question. I'm keen to build my first 2D game. Before I dive in on creating animations, I just wanted to confirm that AC works with animations created using the skeletal animation feature in Unity? It looks like it should work, so fingers crossed.

Thanks for your help, I'm sure I'm going to have loads of questions over the next few months!

Comments

  • Welcome to the community, @Kash.

    You're talking about the 2D Animation system that's available in the Package Manager?

    So long as your animations are controlled using Unity's own Animator system, then yes - you should be fine.

    Playing a single-direction animation would be no issue. But things get a little more complex if you want your character to face different directions, as you'd need to have a separate skeleton / rig for each direction, and then hide/show them as appropriate. At the same time, AC requires that a "sprite child" be defined that is used to render the character.

    The standard practice for this situation is to attach each directional rig to a shared child of your character, so that the Hierarchy looks something like:

    -Character's root
    --Shared child
    ---Direction 1 objects
    ---Direction 2 objects
    ---etc

    Set the "Shared child" in the character's "Sprite child" field, and you can then attach an Animator to either this child or the root to control your animations.

  • 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.