- Home /
(Mecanim) Using a Variable for Transition Offset (Edited)
I'm making a 2d sprite-based game and the player character swings a sword. I want to have it so that when he swings while jumping and lands before the swing is complete, the standing sword-swing animation starts on the frame after the last displayed frame of the in-air sword-swing animation. (Like, airSwing frame 6, groundSwing frame 7.)
edit
Okay, so I now know that what I need to do is make the animation transition offset a variable, but how do I do that?
transition-offset.png
(6.3 kB)
Comment
Your answer
Follow this Question
Related Questions
How to swap sprites? 1 Answer
How to let death animation play when enemy dies, and stop player from taking damage 1 Answer
Collision on specific Frames 1 Answer
How can I code an enemy attack? (Top Down Melee Attack) 1 Answer
GroundCheck 0 Answers