Had some up and down movement in Death Animation and it froze the Player

Hi all,

I followed along what Rick does in the course, the only difference was is when I was animation the Death Animation, I also did some Y movement for an dying jumping effect, same idea as the deathKick but it totally froze my character.

Does anyone know the reason for that? I searched high and low for this, even deleted the player and totally remade it.

And it did all the animations right though and even debug.log worked. But it wouldnt move at all, I couldnt even move it with the mouse.

Hi Preddie,

Welcome to our community! :slight_smile:

I don’t know what exactly you did and have in your project but animating a game object while also manipulating its Transform via code is usually a problem. For this reason, it is good practice to move the visual elements to a child game object, animate that child, and move the parent via code. We did that in the Glitch Garden section. Try to apply your knowledge here and test your game again.

Thanks Nina! Yes that works way better! :smiley:

Fantastic! Is everything working now as expected? :slight_smile:


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms