Hello,
I have downloaded the animation starter pack and trying to play a simple montage animation which I created from the Dead_1 animation sequence.
However, the animation is never visible, although the call to Montage_Play succeeded.
UAnimMontage* pAniMontage= Cast<UAnimMontage>( StaticLoadObject( UAnimMontage::StaticClass(), NULL ,*strAnimation) );
float fDuration = AnimInstance->Montage_Play(pAniMontage, 1.f);
fDuration is always > 0, but the animation does not show up.
The log says: Playing a Montage (Dead_1) for the wrong Skeleton (Hero_TPP) instead of (Hero_TPP).).
The skeletons are not compatible because they have different pointers !?
I am using the 3rd person character template (Hero_TPP).
I wonder why it is not as easy as playing the fire-animation in the firstperson template.
Is there any example code available for playing a custom-animation on an existing 3rd person actor ?
Thank you!