Hold an animation until button is released

I want to make a blast attack. When the player holds a button, then the animation should remain in the ‘blasting’ pose until released.

Any solutions?

The usual way to do this would be to make an anim montage with 3 sections. First would be a warmup sequence (eg raising the hands or a weapon), second section could be an anim with a single frame for the charging pose, with the section set to loop, and the last being for the blasty part. Then in your character or controller you would play the montage when the buton is pressed. And on release you would play the montage, but have it start on the last section.

1 Like

I added a few anim sections and played with the loop to eventually achieve the effect. Thanks for the assist.

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