0
\$\begingroup\$

In my 2D sidescroller game, I want to separate the animations for the head and the body of my character.

While idling, my charcter's body bounces slightly up and down (kind of a breathing motion). Thus, the head should keep up. However, when I press Record and make adjustments for the head, the head moves up and down smoothly instead of following the body frame by frame.

How can I remove the smooth transitions from one position to the other?

Here is a screenshot from Unity demonstrating the hierarchy and the animation keyframes.
enter image description here

\$\endgroup\$
1
  • \$\begingroup\$ Can you show us how your character's parts are constructed in the hierarchy window, and how your keyframes look in the animation timeline? \$\endgroup\$
    – DMGregory
    May 21, 2020 at 15:29

1 Answer 1

1
\$\begingroup\$

I am new to the platform of GameDev, so I am not able to comment, but you will not be able to control or record it the way you want. Unity makes smooth animations with the record button. So you can probably make a sprite sheet of some sorts and use that instead, but the way you want it to work is quite impossible with the record button. Also, I think you should use Anima2d instead of the record button because the record button is too limited.

\$\endgroup\$
2
  • \$\begingroup\$ There is a tutrial on how to use anima2d by Sergio's Tech. Here it is \$\endgroup\$
    – TheMatrix
    May 25, 2020 at 0:29
  • \$\begingroup\$ can someone please upvote my answer. I would really appreciate it. \$\endgroup\$
    – TheMatrix
    May 27, 2020 at 4:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .