How to Detect when BlendAnimation is Complete

Discuss issues pertaining to the various game/web runtimes of Creature here.
Post Reply
wermfood
Posts: 12
Joined: Sat May 25, 2019 5:27 pm

How to Detect when BlendAnimation is Complete

Post by wermfood » Thu Jul 04, 2019 1:57 am

Is there a simple way to know when one animation that has blended into another animation has been completed? I am overriding the CreatureGameAgent.AnimationReachedEnd and logging when that event is fired. Then I change the Blend_Speed to something slow like 0.01f. When I select an animation, the AnimationReachedEnd event fires, even though the animation is still drawing (because of the blend speed).

Wermfood.

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: How to Detect when BlendAnimation is Complete

Post by chong » Fri Jul 05, 2019 12:46 am

Hello,

Sorry there really isn't an accurate way to do this since it is blending and blending means a mix of animations.

Thanks

wermfood
Posts: 12
Joined: Sat May 25, 2019 5:27 pm

Re: How to Detect when BlendAnimation is Complete

Post by wermfood » Fri Jul 05, 2019 3:51 pm

Well that stinks! :D . I really loved the way that the blends made my animation look. Although now - I have discovered Morph targets and am going off on that tangent now hahaha.

Thanks for the quick response as always!
Wermfood

Post Reply