O
O
Oleg_Lin2020-08-14 09:09:49
C++ / C#
Oleg_Lin, 2020-08-14 09:09:49

How to interact with skeletal animation through code and how to customize animator for it?

I know how to work with frame-by-frame animation in Unity (including in code) and recently encountered skeletal animation in Unity from spine (Unity is already configured and prepared for spine). And surprisingly, I did not find how to make Animator work with skeletal animation and how to interact with it through code. Also, I have not yet found a special. tool from spine.

Tell me how to interact with skeletal animation through code and how to set up an animator for it. If the latter is not possible, please suggest animator alternatives for skeletal animation.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Strokin, 2020-08-14
@MeryString

Animator works seamlessly with skeletal animation if the model is imported correctly. You throw in Animator animations that you create when importing a model with a skeleton, set connections and parameters, and control Animator through code using Animator.SetBool/SetFloat/SetInteger/SetTrigger.

A
Alexander Skusnov, 2020-08-14
@AlexSku

The alternative is DirectX.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question