I have 2 animations: forward and side
How to play both with full power? Is it possible?
I have tried
Animation* sideAnimation = cache->GetResource<Animation>("Models/HeroWalkSide.ani");
AnimationState* state = obj->AddAnimationState(sideAnimation);
state->SetWeight(1.0f);
state->SetLooped(true);
Animation* walkAnimation = cache->GetResource<Animation>("Models/HeroWalkForward.ani");
AnimationState* state2 = obj->AddAnimationState(walkAnimation);
state2->SetWeight(1.0f);
state2->SetLooped(true);
but the second animation is completely replaces the first.
SetWeight(0.5f) works, but amplitude of animations is small