N
N
Nazarevsky2021-08-11 23:55:20
C++ / C#
Nazarevsky, 2021-08-11 23:55:20

Is it possible to programmatically create an animation in Unity?

Hello!
There was such a question. Is it possible to programmatically set animation points for the movement of a certain object?
It means to change the starting point through the code and start the already changed animation.
I hope I explained clearly :D. It's very interesting to hear the answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dekmabot, 2021-08-12
@Dekmabot

Yes, you can.
Just move the object across the field over time. Or if your object has a certain skeleton - then this skeleton consists of bones, parts of the bones are objects that can be moved. according to the algorithm you need.
Yes, and Unity itself gives the main movement algorithms: two-bone, soft, chains, etc. There are many videos on Youtube on basic character animation. For example, you can move your hand, and Unity will calculate the movements of your elbow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question